[Python-checkins] r62936 - peps/trunk/pep-0370.txt
christian.heimes
python-checkins at python.org
Fri May 9 14:28:35 CEST 2008
Author: christian.heimes
Date: Fri May 9 14:28:35 2008
New Revision: 62936
Log:
Added notes about the new build_ext --user and site module features
Modified:
peps/trunk/pep-0370.txt
Modified: peps/trunk/pep-0370.txt
==============================================================================
--- peps/trunk/pep-0370.txt (original)
+++ peps/trunk/pep-0370.txt Fri May 9 14:28:35 2008
@@ -161,6 +161,16 @@
``--user`` to install packages in the user site directory. The required
directories are created on demand.
+``distutils.command.build_ext`` (setup.py build_ext) gets a new argument
+``--user`` which adds the include/ and lib/ directories in the user base
+dirctory to the search paths for header files and libraries. It also
+adds the lib/ directory to rpath.
+
+The ``site`` module gets two arguments ``--user-base`` and ``--user-site``
+to print the path to the user base or user site directory to the standard
+output. The feature is intended for scripting, e.g.
+``./configure --prefix $(python2.5 -m site --user-base)``
+
``distutils.sysconfig`` will get methods to access the private variables
of site. (not yet implemented)
More information about the Python-checkins
mailing list