From 6401988885a42d3f4c612c20973948b7b4cab7a5 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 14 Jun 2014 14:41:05 -0400 Subject: 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 --- setuptools/command/easy_install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setuptools/command/easy_install.py') 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') -- cgit v1.2.1