Micah Elliott napisaƂ(a):

>>How to install this structure eg. on Linux? What layout do you
>>recommend? It's tempting to use /opt hierarchy for installation
>>target (as it gives relatively much freedom within application
>>directory), but many administrators are reluctant to use this
>>hierarchy and prefer more standarized targets, such as /usr or
>>/usr/local.
> 
> Read about (and use) the Python-provided distutils, and let it do the
> work for you.  In particular,
> <http://www.python.org/doc/2.4.2/inst/alt-install-windows.html>
> discusses installation location.  The file name is a misnomer; it's
> equally applicable to linux.

I think that installing *application* (not misc. library) modules in
site-packages is at least stupid idea, as it makes a special filesystem
inside other, much more standarized filesystem (Windows, FHS, etc.). Why
not to do this usual way: libraries to $prefix/lib/$appname-$version,
binary to $prefix/bin, shared files to $prefix/share/$appname, etc --
and appropriately on Windows.

-- 
Jarek Zgoda
http://jpa.berlios.de/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to