Commit 0fb0c808 authored by Reinout van Rees's avatar Reinout van Rees

Restored blank line

parent c2dfed9f
...@@ -1067,6 +1067,7 @@ def _script(module_name, attrs, path, dest, arguments, initialization, rsetup): ...@@ -1067,6 +1067,7 @@ def _script(module_name, attrs, path, dest, arguments, initialization, rsetup):
def _distutils_script(path, dest, script_content, initialization, rsetup): def _distutils_script(path, dest, script_content, initialization, rsetup):
if is_win32: if is_win32:
dest += '-script.py' dest += '-script.py'
lines = script_content.splitlines(True) lines = script_content.splitlines(True)
if not ('#!' in lines[0]) and ('python' in lines[0]): if not ('#!' in lines[0]) and ('python' in lines[0]):
# The script doesn't follow distutil's rules. Ignore it. # The script doesn't follow distutil's rules. Ignore it.
......
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