mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
#1530959: change distutils build dir for --with-pydebug python builds.
This commit is contained in:
parent
733024a752
commit
501601591b
2 changed files with 10 additions and 0 deletions
|
|
@ -69,6 +69,12 @@ class build (Command):
|
||||||
|
|
||||||
plat_specifier = ".%s-%s" % (get_platform(), sys.version[0:3])
|
plat_specifier = ".%s-%s" % (get_platform(), sys.version[0:3])
|
||||||
|
|
||||||
|
# Make it so Python 2.x and Python 2.x with --with-pydebug don't
|
||||||
|
# share the same build directories. Doing so confuses the build
|
||||||
|
# process for C modules
|
||||||
|
if hasattr(sys, 'gettotalrefcount'):
|
||||||
|
plat_specifier += '-pydebug'
|
||||||
|
|
||||||
# 'build_purelib' and 'build_platlib' just default to 'lib' and
|
# 'build_purelib' and 'build_platlib' just default to 'lib' and
|
||||||
# 'lib.<plat>' under the base build directory. We only use one of
|
# 'lib.<plat>' under the base build directory. We only use one of
|
||||||
# them for a given distribution, though --
|
# them for a given distribution, though --
|
||||||
|
|
|
||||||
|
|
@ -369,6 +369,10 @@ Core and builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Bug #1530959: distutils' build command now uses different build directory
|
||||||
|
when building extension modules against versions of Python compiled
|
||||||
|
with ``--with-pydebug``.
|
||||||
|
|
||||||
- #1555501: move plistlib from plat-mac directory to general library.
|
- #1555501: move plistlib from plat-mac directory to general library.
|
||||||
|
|
||||||
- #1269: fix a bug in pstats.add_callers() and add a unit test file for
|
- #1269: fix a bug in pstats.add_callers() and add a unit test file for
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue