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