aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-08-13 23:20:09 -0400
committerJason R. Coombs <jaraco@jaraco.com>2013-08-13 23:20:09 -0400
commite78ad5671effbd18d7e5c2a803c462d54c401b35 (patch)
treea6233f85bc7757b9603292680ade912ba913e56e
parentdc61ad53fcfa41cfc6d980b0114c9ea5d9daf2ec (diff)
downloadexternal_python_setuptools-e78ad5671effbd18d7e5c2a803c462d54c401b35.tar.gz
external_python_setuptools-e78ad5671effbd18d7e5c2a803c462d54c401b35.tar.bz2
external_python_setuptools-e78ad5671effbd18d7e5c2a803c462d54c401b35.zip
Remove -script scripts also
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 6a45e596..6322c9b6 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1845,7 +1845,7 @@ class WindowsScriptWriter(ScriptWriter):
def _get_script_args(cls, type_, name, header, script_text):
"For Windows, add a .py extension"
ext = dict(console='.py', gui='.pyw')[type_]
- old = ['.py', '.pyc', '.pyo', '.pyw', '.exe']
+ old = ['.py', '-script.py', '.pyc', '.pyo', '.pyw', '.exe']
old.remove(ext)
header = cls._adjust_header(type_, header)
blockers = [name+x for x in old]