aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-06-14 14:41:05 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-06-14 14:41:05 -0400
commit6401988885a42d3f4c612c20973948b7b4cab7a5 (patch)
treef1c01340424c20471119e6949fc505c2c21b13a6 /setuptools/command/easy_install.py
parent35d3732c71a391367bb2f77d3cec1b254daa2287 (diff)
downloadexternal_python_setuptools-6401988885a42d3f4c612c20973948b7b4cab7a5.tar.gz
external_python_setuptools-6401988885a42d3f4c612c20973948b7b4cab7a5.tar.bz2
external_python_setuptools-6401988885a42d3f4c612c20973948b7b4cab7a5.zip
Rename script template to use .tmpl extensions.
--HG-- rename : setuptools/script template (dev).py => setuptools/script (dev).tmpl rename : setuptools/script template.py => setuptools/script.tmpl
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 19ed1259..cc5ddbd6 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -750,9 +750,9 @@ Please make the appropriate changes for your system and try again.
if is_script:
# See https://bitbucket.org/pypa/setuptools/issue/134 for info
# on script file naming and downstream issues with SVR4
- template_name = 'script template.py'
+ template_name = 'script.tmpl'
if dev_path:
- template_name = template_name.replace('.py', ' (dev).py')
+ template_name = template_name.replace('.tmpl', ' (dev).tmpl')
script_text = (get_script_header(script_text) +
get_template(template_name) % locals())
self.write_script(script_name, _to_ascii(script_text), 'b')