Commit e78ad567 authored by Jason R. Coombs's avatar Jason R. Coombs

Remove -script scripts also

parent dc61ad53
......@@ -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]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment