Commit e79c7017 authored by Stefan Behnel's avatar Stefan Behnel

avoid redundant exception output in Python 3 build

parent 9c9c12c0
...@@ -249,7 +249,11 @@ except ValueError: ...@@ -249,7 +249,11 @@ except ValueError:
try: try:
sys.argv.remove("--no-cython-compile") sys.argv.remove("--no-cython-compile")
compile_cython_itself = False
except ValueError: except ValueError:
compile_cython_itself = True
if compile_cython_itself:
compile_cython_modules(cython_profile, cython_compile_more, cython_with_refnanny) compile_cython_modules(cython_profile, cython_compile_more, cython_with_refnanny)
setup_args.update(setuptools_extra_args) setup_args.update(setuptools_extra_args)
......
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