summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/command/install_data.py3
-rw-r--r--Lib/distutils/command/install_scripts.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/Lib/distutils/command/install_data.py b/Lib/distutils/command/install_data.py
index 95ef423..448614b 100644
--- a/Lib/distutils/command/install_data.py
+++ b/Lib/distutils/command/install_data.py
@@ -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 []
diff --git a/Lib/distutils/command/install_scripts.py b/Lib/distutils/command/install_scripts.py
index 4e23efc..43e5fc1 100644
--- a/Lib/distutils/command/install_scripts.py
+++ b/Lib/distutils/command/install_scripts.py
@@ -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