Added notes about the new build_ext --user and site module features

This commit is contained in:
Christian Heimes 2008-05-09 12:28:35 +00:00
parent ea752eeaf0
commit de7124dfe1
1 changed files with 10 additions and 0 deletions

View File

@ -161,6 +161,16 @@ when ``PYTHONUSERBASE`` is not set or empty.
``--user`` to install packages in the user site directory. The required ``--user`` to install packages in the user site directory. The required
directories are created on demand. 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 ``distutils.sysconfig`` will get methods to access the private variables
of site. (not yet implemented) of site. (not yet implemented)