aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
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 6322c9b6..53f2e7cf 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1844,8 +1844,8 @@ class WindowsScriptWriter(ScriptWriter):
@classmethod
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', '-script.py', '.pyc', '.pyo', '.pyw', '.exe']
+ ext = dict(console='.pya', gui='.pyw')[type_]
+ old = ['.pya', '.py', '-script.py', '.pyc', '.pyo', '.pyw', '.exe']
old.remove(ext)
header = cls._adjust_header(type_, header)
blockers = [name+x for x in old]