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 b2fc30f commit 41927cfCopy full SHA for 41927cf
scripts/mypyc
@@ -25,7 +25,7 @@ from distutils.core import setup
25
from mypyc.build import mypycify
26
27
setup(name='mypyc_output',
28
- ext_modules=mypycify({}, {}),
+ ext_modules=mypycify({}, opt_level="{}"),
29
)
30
"""
31
@@ -36,7 +36,7 @@ def main() -> None:
36
except FileExistsError:
37
pass
38
39
- opt_level = os.getenv("MYPYC_OPT_LEVEL", '')
+ opt_level = os.getenv("MYPYC_OPT_LEVEL", '3')
40
41
setup_file = os.path.join(build_dir, 'setup.py')
42
with open(setup_file, 'w') as f:
0 commit comments