]> granicus.if.org Git - python/commitdiff
Added 'get_inputs()' methods, needed by the "install" command's
authorGregory P. Smith <greg@mad-scientist.com>
Sat, 13 May 2000 03:07:53 +0000 (03:07 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sat, 13 May 2000 03:07:53 +0000 (03:07 +0000)
'get_inputs()'.

Lib/distutils/command/install_data.py
Lib/distutils/command/install_scripts.py

index 95ef423127ec28f115299d0a9f3189fa41005d1f..448614b050f23f713412cf68ad78cce24d6a695d 100644 (file)
@@ -18,3 +18,6 @@ class install_data (install_misc):
 
     def run (self):
         self._copy_files(self.distribution.data)
+
+    def get_inputs (self):
+        return self.distribution.data or []
index 4e23efc8b636a8e0d103f372f278b3dde7988f69..43e5fc18bcadc7c7e27bbf361255add23803f00e 100644 (file)
@@ -32,4 +32,7 @@ class install_scripts(install_misc):
                     self.announce("changing mode of %s to %o" % (file, mode))
                     os.chmod(file, mode)
 
+    def get_inputs (self):
+        return self.distribution.scripts or []
+
 # class install_scripts