]> granicus.if.org Git - python/commitdiff
Added missing run of corresponding 'build' command.
authorGreg Ward <gward@python.net>
Sun, 30 Jan 2000 15:07:56 +0000 (15:07 +0000)
committerGreg Ward <gward@python.net>
Sun, 30 Jan 2000 15:07:56 +0000 (15:07 +0000)
Lib/distutils/command/install_ext.py
Lib/distutils/command/install_lib.py
Lib/distutils/command/install_py.py

index 3fb756c6a111e10bbdf66537d65978fd874d6b8d..b5673d235ae5c1375beebd64b4bbae8f69b0f147 100644 (file)
@@ -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
index 35deaa812ff5c645cb0b0ff499cbe89ba282bef1..50939a3431894d27341fdf0a46def5174cb1fdef 100644 (file)
@@ -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)
index 35deaa812ff5c645cb0b0ff499cbe89ba282bef1..50939a3431894d27341fdf0a46def5174cb1fdef 100644 (file)
@@ -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)