Skip to content

Commit 7038cf2

Browse files
committed
Restore Setuptools compatibility.
1 parent 12edb8d commit 7038cf2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

distutils/command/build_scripts.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
# check if Python is called on the first line with this expression
1616
shebang_pattern = re.compile(b'^#!.*python[0-9.]*([ \t].*)?$')
1717

18+
# for Setuptools compatibility
19+
first_line_re = shebang_pattern
20+
1821

1922
class build_scripts(Command):
2023

0 commit comments

Comments
 (0)