Skip to content

Commit 70f8338

Browse files
mr-chauntsaninja
authored andcommitted
Skip compiling mypyc/__main__.py (#11862)
Fixes mypyc/mypyc#912 Co-authored-by: Shantanu <[email protected]>
1 parent 5d765e7 commit 70f8338

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ def run(self):
107107
)) + (
108108
# Don't want to grab this accidentally
109109
os.path.join('mypyc', 'lib-rt', 'setup.py'),
110+
# Uses __file__ at top level https://github.com/mypyc/mypyc/issues/700
111+
os.path.join('mypyc', '__main__.py'),
110112
)
111113

112114
everything = (

0 commit comments

Comments
 (0)