Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
af7f4f11
Commit
af7f4f11
authored
Jan 21, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1530959: change distutils build dir for --with-pydebug python builds.
parent
6bc46485
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
Lib/distutils/command/build.py
Lib/distutils/command/build.py
+6
-0
Misc/NEWS
Misc/NEWS
+4
-0
No files found.
Lib/distutils/command/build.py
View file @
af7f4f11
...
...
@@ -69,6 +69,12 @@ class build (Command):
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
# 'lib.<plat>' under the base build directory. We only use one of
# them for a given distribution, though --
...
...
Misc/NEWS
View file @
af7f4f11
...
...
@@ -369,6 +369,10 @@ Core and builtins
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
.
-
#
1269
:
fix
a
bug
in
pstats
.
add_callers
()
and
add
a
unit
test
file
for
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment