[Python-Dev] First draft of "sysconfig"
Glyph Lefkowitz
glyph at twistedmatrix.com
Wed Dec 23 17:00:50 CET 2009
On Dec 23, 2009, at 10:00 AM, Frank Wierzbicki wrote:
> On Mon, Dec 14, 2009 at 5:58 PM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:
>> and for Linux and al, I am not sure but maybe a prefix for
>> Jython/etc.. could be used
>> for all paths.
>>
>> ~/.locale/lib/python/2.6/site-packages/...
>> ~/.locale/jython/lib/python/2.6/site-packages/...
>>
>> (I didn't digg on how Jython organizes things yet, any hint would be
>> appreciated)
> Jython does not yet support user site-packages, but I think the above
> looks like a fine structure for us when we get to implementing it.
Two minor points:
1. It's "~/.local", not "~/.locale" ;-)
2. I think it would be a better idea to do "~/.local/lib/jython/2.6/site-packages".
The idea with ~/.local is that it's a mirror of the directory structure convention in /, /usr/, /opt/ or /usr/local/. In other words it's got "bin", "lib", "share", "etc", etc.. ~/.local/jython/lib suggests that the parallel scripts directory would be ~/.local/jython/bin, which means I need 2 entries on my $PATH instead of one, which means yet more setup for people who use both Python and Jython per-user installation.
More information about the Python-Dev
mailing list