summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-01-30 15:07:56 (GMT)
committerGreg Ward <gward@python.net>2000-01-30 15:07:56 (GMT)
commit7478a4832a29a7179a299570ab8bb5148e57dcf0 (patch)
tree0ba2094460b597aa898e282482195c74a1d77530 /Lib
parent4377a1a2c5c67e2ddc944da815b7f1507c0b1461 (diff)
downloadcpython-7478a4832a29a7179a299570ab8bb5148e57dcf0.zip
cpython-7478a4832a29a7179a299570ab8bb5148e57dcf0.tar.gz
cpython-7478a4832a29a7179a299570ab8bb5148e57dcf0.tar.bz2
Added missing run of corresponding 'build' command.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/command/install_ext.py3
-rw-r--r--Lib/distutils/command/install_lib.py3
-rw-r--r--Lib/distutils/command/install_py.py3
3 files changed, 9 insertions, 0 deletions
diff --git a/Lib/distutils/command/install_ext.py b/Lib/distutils/command/install_ext.py
index 3fb756c..b5673d2 100644
--- a/Lib/distutils/command/install_ext.py
+++ b/Lib/distutils/command/install_ext.py
@@ -27,6 +27,9 @@ class InstallExt (Command):
def run (self):
+ # Make sure we have built all extension modules first
+ self.run_peer ('build_ext')
+
# Dump the entire "build/platlib" directory (or whatever it really
# is; "build/platlib" is the default) to the installation target
# (eg. "/usr/local/lib/python1.5/site-packages"). Note that
diff --git a/Lib/distutils/command/install_lib.py b/Lib/distutils/command/install_lib.py
index 35deaa8..50939a3 100644
--- a/Lib/distutils/command/install_lib.py
+++ b/Lib/distutils/command/install_lib.py
@@ -46,6 +46,9 @@ class InstallPy (Command):
def run (self):
+ # Make sure we have "built" all pure Python modules first
+ self.run_peer ('build_py')
+
# Dump entire contents of the build directory to the installation
# directory (that's the beauty of having a build directory!)
outfiles = self.copy_tree (self.build_dir, self.install_dir)
diff --git a/Lib/distutils/command/install_py.py b/Lib/distutils/command/install_py.py
index 35deaa8..50939a3 100644
--- a/Lib/distutils/command/install_py.py
+++ b/Lib/distutils/command/install_py.py
@@ -46,6 +46,9 @@ class InstallPy (Command):
def run (self):
+ # Make sure we have "built" all pure Python modules first
+ self.run_peer ('build_py')
+
# Dump entire contents of the build directory to the installation
# directory (that's the beauty of having a build directory!)
outfiles = self.copy_tree (self.build_dir, self.install_dir)