Commit bbea4717 authored by Marc-André Lemburg's avatar Marc-André Lemburg

Allow shebang's which use versioned Python binaries. Fixes

bug #521526.
parent e309504f
......@@ -13,7 +13,7 @@ from distutils.dep_util import newer
from distutils.util import convert_path
# check if Python is called on the first line with this expression
first_line_re = re.compile(r'^#!.*python(\s+.*)?$')
first_line_re = re.compile(r'^#!.*python[0-9.]*(\s+.*)?$')
class build_scripts (Command):
......
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