summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_ext.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/command/install_ext.py')
-rw-r--r--Lib/distutils/command/install_ext.py3
1 files changed, 3 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