<div dir="ltr">On Tue, Dec 24, 2013 at 2:28 PM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><p dir="ltr">> But that concept doesn't work on all platforms, so we should be careful about isolating it.<br>

</p>
</div><p dir="ltr">Encapsulating that assumption is why I think the "gnu" nesting is justified. There are layout expectations inherent in the autoconf directory design that just don't make sense on Windows, so any package expecting them is going to be a bit quirky if installed on Windows.</p>

</blockquote><div style>I'm confused now as to what has been proposed or being discussed, or...</div><div style><br></div><div style>I _thought_ that this thread started with a proposal that package authors would do something like specifying a file hierarchy for the stuff they are delivering:</div>

<div style><br></div><div style>/bin/some_scripts</div><div style>/share/some_data</div><div style>/man/some_docs</div><div style>....</div><div style><br></div><div style>then at installation time, the python distro would decide where to copy all that.</div>

<div style><br></div><div style>But this would beb worthless on non-gnu systems and would require:</div><div style> 1) package writer to write three or four versions</div><div style> 2) wheels to be platform-dependent unnecessarily.</div>

<div style><br></div><div style>So my suggestion was to define the various locations where stuff may need to be installed at a higher level:</div><div style><br></div><div style>place_to_put_top_level_scripts</div><div style>

<div>place_to_put_documentation</div><div><div>place_to_app_data</div></div><div><div>place_to_put_user_configuration_files</div></div><div><div>place_to_put_user_system_configuration_files</div></div><div>.....</div><div>

<br></div><div style>Then the python distro would map these to actual paths at install time: gnu systems would map the gnu locations, Windows to Windows-appropriate locations, OS-X to OS-X locations, etc.... This wold also allow python distros like Anaconda or macports python, or ??? to do their own thing, which may not be putting everything in /usr/local, or ...</div>

<div style><br></div><div style>That may be what you had in mind, but I got confused.</div><div style><br></div><div style>-Chris</div><div style><br></div><div style><br></div><div style><br></div><div style><br></div><div>

<br></div><div><br></div><div><br></div></div><div style><br></div><div style><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<p dir="ltr">Cheers,<br>
Nick.</p>
<p dir="ltr"></p><div class="im">><br>
> -Chris<br>
><br>
>  <br>
>><br>
>> It would be really easy<br>
>> to try adding these to the dict that wheel installers use to relocate<br>
>> stuff. <a href="http://www.gnu.org/prep/standards/html_node/Directory-Variables.html" target="_blank">http://www.gnu.org/prep/standards/html_node/Directory-Variables.html</a><br>
><br>
><br>
><br>
><br>
> -- <br>
><br>
> Christopher Barker, Ph.D.<br>
> Oceanographer<br>
><br>
> Emergency Response Division<br>
> NOAA/NOS/OR&R            <a href="tel:%28206%29%20526-6959" value="+12065266959" target="_blank">(206) 526-6959</a>   voice<br>
> 7600 Sand Point Way NE   <a href="tel:%28206%29%20526-6329" value="+12065266329" target="_blank">(206) 526-6329</a>   fax<br>
> Seattle, WA  98115       <a href="tel:%28206%29%20526-6317" value="+12065266317" target="_blank">(206) 526-6317</a>   main reception<br>
><br>
> <a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a><br>
><br></div><div class="im">
> _______________________________________________<br>
> Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org" target="_blank">Distutils-SIG@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
><br>
</div><p></p>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R            (206) 526-6959   voice<br>7600 Sand Point Way NE   (206) 526-6329   fax<br>

Seattle, WA  98115       (206) 526-6317   main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a>
</div></div>