At 09:13 AM 4/15/2009 +0200, Matthias Klose wrote:
Tarek Ziadé schrieb:
> Hello
>
> I am working on PEP 376
> <http://svn.python.org/projects/peps/trunk/pep-0376.txt>,  and there's
> a part about adding an install and uninstall script into Distutils.

according to the PEP files mentioned in RECORD are relative paths, which follows
the assumption that everything is contained in the .egg directory. A new PEP
should not assume this, but support the installation into a FHS layout as well
(e.g. as done by (Linux) distributions).

Actually, the assumption is that everything is relative to site-packages in a flat install. Scripts and data should be able to use absolute paths, however.

The main purpose of the recommendation is that anything installed relative to the target directory (typically site-packages) should use a relative path, so that simple installations are relocatable and have cross-platform-compatible path information, for use cases where a single installation of code is shared between e.g. Windows, OS X, and Linux.

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to