summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/command/install_data.py')
-rw-r--r--Lib/distutils/command/install_data.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/Lib/distutils/command/install_data.py b/Lib/distutils/command/install_data.py
new file mode 100644
index 0000000..f86d95e
--- /dev/null
+++ b/Lib/distutils/command/install_data.py
@@ -0,0 +1,14 @@
+from distutils.cmd import install_misc
+
+class install_data (install_misc):
+
+ description = "install data files"
+
+ def finalize_options (self):
+ self._install_dir_from('install_data')
+
+ def run (self):
+ self._copydata(self.distribution.data)
+
+ def get_outputs (self):
+ return self._outputdata(self.distribution.data)