We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e309504 commit bbea471Copy full SHA for bbea471
1 file changed
Lib/distutils/command/build_scripts.py
@@ -13,7 +13,7 @@
13
from distutils.util import convert_path
14
15
# check if Python is called on the first line with this expression
16
-first_line_re = re.compile(r'^#!.*python(\s+.*)?$')
+first_line_re = re.compile(r'^#!.*python[0-9.]*(\s+.*)?$')
17
18
class build_scripts (Command):
19
0 commit comments