summaryrefslogtreecommitdiff
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
commit351dea2b96aa8daca2006e2ffcb9b3f0eea2d0aa (patch)
tree6cec9454b05396e294d536ae47b461c39fd88ccc /setup.py
parentb95e23b10e9efa1b890f280bdb2759ddc17fa8d4 (diff)
downloadpython-setuptools-bitbucket-351dea2b96aa8daca2006e2ffcb9b3f0eea2d0aa.tar.gz
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")