summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-03-22 00:40:16 (GMT)
committerGreg Ward <gward@python.net>2000-03-22 00:40:16 (GMT)
commit048ca7dcaf7a8c12060ffd031e1d71cb718e7349 (patch)
treed86e94a800e40ed5999dc62f5c7318d6a0570a6d /Lib
parent55753d4a7590ce6c608cf2c450d53d5f61b09858 (diff)
downloadcpython-048ca7dcaf7a8c12060ffd031e1d71cb718e7349.zip
cpython-048ca7dcaf7a8c12060ffd031e1d71cb718e7349.tar.gz
cpython-048ca7dcaf7a8c12060ffd031e1d71cb718e7349.tar.bz2
Run 'install_lib' instead of 'install_py', and ditch 'install_ext'
completely (was already commented-out).
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/command/install.py17
1 files changed, 4 insertions, 13 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index a1b5d06..00aa072 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -388,19 +388,10 @@ class install (Command):
# Obviously have to build before we can install
self.run_peer ('build')
- # Install modules in two steps: "platform-shared" files (ie. pure
- # Python modules) and platform-specific files (compiled C
- # extensions). Note that 'install_py' is smart enough to install
- # pure Python modules in the "platlib" directory if we built any
- # 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')
+ # Now install all Python modules -- don't bother to make this
+ # conditional; why would someone distribute a Python module
+ # distribution without Python modules?
+ self.run_peer ('install_lib')
if self.path_file:
self.create_path_file ()