summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_scripts.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/command/install_scripts.py')
-rw-r--r--Lib/distutils/command/install_scripts.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/Lib/distutils/command/install_scripts.py b/Lib/distutils/command/install_scripts.py
new file mode 100644
index 0000000..665208e
--- /dev/null
+++ b/Lib/distutils/command/install_scripts.py
@@ -0,0 +1,16 @@
+from distutils.cmd import install_misc
+
+class install_scripts(install_misc):
+
+ description = "install scripts"
+ # XXX needed?
+ user_options = [('install-dir=', 'd', "directory to install to")]
+
+ def finalize_options (self):
+ self._install_dir_from('install_scripts')
+
+ def run (self):
+ self._copydata(self.distribution.scripts)
+
+ def get_outputs(self):
+ return self._outputdata(self.distribution.scripts)