aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2014-06-14 18:19:04 -0700
committerMonty Taylor <mordred@inaugust.com>2014-06-14 18:19:04 -0700
commitcfd9d789d301f3c1d74afe5a63e6c872ecefede0 (patch)
treebc4a32069de9070017159c44683251aa3a7b5525 /setup.py
parent1f83ddb9a7817c02cf93caceeb8b0e3d9dbebeaf (diff)
downloadexternal_python_setuptools-cfd9d789d301f3c1d74afe5a63e6c872ecefede0.tar.gz
external_python_setuptools-cfd9d789d301f3c1d74afe5a63e6c872ecefede0.tar.bz2
external_python_setuptools-cfd9d789d301f3c1d74afe5a63e6c872ecefede0.zip
Include the script template files - fixes #220
The rename of the script template files to be .tmpl put them into the realm of package data, rather than python files that would be bundled automatically. Include them specifically in package data so that they'll actually be installed.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 6b263702..719a1937 100755
--- a/setup.py
+++ b/setup.py
@@ -100,7 +100,8 @@ with readme_file:
with changes_file:
long_description = readme_file.read() + '\n' + changes_file.read()
-package_data = {'setuptools': ['site-patch.py']}
+package_data = {
+ 'setuptools': ['script (dev).tmpl', 'script.tmpl', 'site-patch.py']}
force_windows_specific_files = (
os.environ.get("SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES")
not in (None, "", "0")