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
02e1c562
Commit
02e1c562
authored
Sep 21, 1999
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only run build_py if we have pure Python modules, and build_ext if we
have extension modules.
parent
dbb96253
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
Lib/distutils/command/build.py
Lib/distutils/command/build.py
+9
-5
No files found.
Lib/distutils/command/build.py
View file @
02e1c562
...
...
@@ -40,10 +40,14 @@ class Build (Command):
# For now, "build" means "build_py" then "build_ext". (Eventually
# it should also build documentation.)
# Invoke the 'build_py' command
self
.
run_peer
(
'build_py'
)
# And now 'build_ext'
self
.
run_peer
(
'build_ext'
)
# Invoke the 'build_py' command to "build" pure Python modules
# (ie. copy 'em into the build tree)
if
self
.
distribution
.
packages
or
self
.
distribution
.
py_modules
:
self
.
run_peer
(
'build_py'
)
# And now 'build_ext' -- compile extension modules and put them
# into the build tree
if
self
.
distribution
.
ext_modules
:
self
.
run_peer
(
'build_ext'
)
# end class Build
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