Commit 3603215d authored by Greg Ward's avatar Greg Ward

Run 'install_lib' instead of 'install_py', and ditch 'install_ext'

completely (was already commented-out).
parent d3774f58
...@@ -388,19 +388,10 @@ class install (Command): ...@@ -388,19 +388,10 @@ class install (Command):
# Obviously have to build before we can install # Obviously have to build before we can install
self.run_peer ('build') self.run_peer ('build')
# Install modules in two steps: "platform-shared" files (ie. pure # Now install all Python modules -- don't bother to make this
# Python modules) and platform-specific files (compiled C # conditional; why would someone distribute a Python module
# extensions). Note that 'install_py' is smart enough to install # distribution without Python modules?
# pure Python modules in the "platlib" directory if we built any self.run_peer ('install_lib')
# extensions.
# XXX this should become one command, 'install_lib', since
# all modules are "built" into the same directory now
if self.distribution.packages or self.distribution.py_modules:
self.run_peer ('install_py')
#if self.distribution.ext_modules:
# self.run_peer ('install_ext')
if self.path_file: if self.path_file:
self.create_path_file () self.create_path_file ()
......
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