homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Distutils & non-installed Python
Type: Stage:
Components: Distutils Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, mwh
Priority: normal Keywords: patch

Created on 2002年04月23日 19:34 by fdrake, last changed 2022年04月10日 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
distutils.patch fdrake, 2002年04月23日 19:34 Replace set_python_build() w/ better check for non-installed Python
Messages (4)
msg39684 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002年04月23日 19:34
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).
msg39685 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2002年04月24日 12:09
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?
msg39686 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002年04月30日 14:08
Logged In: YES 
user_id=3066
Based on the descriptions, this solves a closely related
problem to what's addressed by patch 458898. I've not read
that patch, but it sounds like there are likely conflicts
between the two patches due to needing to touch related
code, but the approaches are different. I'd have to spend
more time looking at that patch to see what's going on, but
it's not clear that the approach (or the problem statement)
makes sense.
These issues should be discussed in the distutils SIG.
msg39687 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002年06月04日 15:30
Logged In: YES 
user_id=3066
Guido found this useful, so it's now checked in as setup.py
revision 1.88 and Lib/distutils/sysconfig.py revision 1.46.
Bugfix candidate.
History
Date User Action Args
2022年04月10日 16:05:15adminsetgithub: 36488
2002年04月23日 19:34:06fdrakecreate

AltStyle によって変換されたページ (->オリジナル) /