summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_scripts.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2000-05-13 03:07:53 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2000-05-13 03:07:53 (GMT)
commite30b7a91c742ded4921c01f7ad8bb053f2c3ab32 (patch)
tree5d97263040445e657be5c2f2721a108a19a425ca /Lib/distutils/command/install_scripts.py
parentba0506b3492a13f5c8cec7598bf2b5f9735ac7b2 (diff)
downloadcpython-e30b7a91c742ded4921c01f7ad8bb053f2c3ab32.zip
cpython-e30b7a91c742ded4921c01f7ad8bb053f2c3ab32.tar.gz
cpython-e30b7a91c742ded4921c01f7ad8bb053f2c3ab32.tar.bz2
Added 'get_inputs()' methods, needed by the "install" command's
'get_inputs()'.
Diffstat (limited to 'Lib/distutils/command/install_scripts.py')
-rw-r--r--Lib/distutils/command/install_scripts.py3
1 files changed, 3 insertions, 0 deletions
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