[Patches] [ python-Patches-547734 ] Distutils & non-installed Python
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 24 Apr 2002 05:09:55 -0700
Patches item #547734, was opened at 2002-04-23 19:34
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=547734&group_id=5470
Category: Distutils and setup.py
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Fred L. Drake, Jr. (fdrake)
Assigned to: Nobody/Anonymous (nobody)
Summary: Distutils & non-installed Python
Initial Comment:
When using a Python that has not been installed to
build 3rd-party modules, distutils does not understand
that the build version of the source tree is needed.
This patch fixes distutils.sysconfig to understand that
the running Python is part of the build tree and needs
to use the appropriate "shape" of the tree. This does
not assume anything about the current directory, so can
be used to build 3rd-party modules using Python's build
tree as well.
This is useful since it allows us to use a
non-installed debug-mode Python with 3rd-party modules
for testing. It as the side-effect that
set_python_build() is no longer needed (the hack which
was added to allow distutils to be used to build the
"standard" extension modules).
----------------------------------------------------------------------
>Comment By: Michael Hudson (mwh)
Date: 2002-04-24 12:09
Message:
Logged In: YES
user_id=6656
Fred, can you look at
[ 458898 ] --python-build for install
(which has been sitting on my plate for an embarrassingly
long time)
Is it solving the same problem? Which appraoch do you prefer?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=547734&group_id=5470