Kaydet (Commit) 5f7c18e8 authored tarafından Greg Ward's avatar Greg Ward

Run the 'build_lib' command before building extensions, if necessary.

üst aaf27ee0
...@@ -48,6 +48,12 @@ class Build (Command): ...@@ -48,6 +48,12 @@ class Build (Command):
if self.distribution.packages or self.distribution.py_modules: if self.distribution.packages or self.distribution.py_modules:
self.run_peer ('build_py') self.run_peer ('build_py')
# Build any standalone C libraries next -- they're most likely to
# be needed by extension modules, so obviously have to be done
# first!
if self.distribution.libraries:
self.run_peer ('build_lib')
# And now 'build_ext' -- compile extension modules and put them # And now 'build_ext' -- compile extension modules and put them
# into the build tree # into the build tree
if self.distribution.ext_modules: if self.distribution.ext_modules:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment