Commit a68bb215 authored by Georg Brandl's avatar Georg Brandl

#1120: put explicit version in the shebang lines of pydoc, idle

and smtpd.py scripts that are installed by setup.py. That way, they
work when only "make altinstall" is used.
parent 69af9b58
......@@ -104,7 +104,8 @@ class build_scripts (Command):
outf.write("#!%s%s\n" %
(os.path.join(
sysconfig.get_config_var("BINDIR"),
"python" + sysconfig.get_config_var("EXE")),
"python" + sysconfig.get_config_var("VERSION")
+ sysconfig.get_config_var("EXE")),
post_interp))
outf.writelines(f.readlines())
outf.close()
......
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