From: Stefan Behnel Date: Thu, 28 Apr 2011 18:37:31 +0000 (+0200) Subject: avoid redundant exception output in Python 3 build X-Git-Url: http://git.tremily.us/?p=cython.git;a=commitdiff_plain;h=e79c70176761eb6918a6561b0f5db5f4d85ebaf6 avoid redundant exception output in Python 3 build --- diff --git a/setup.py b/setup.py index cb4f996d..782dea25 100644 --- a/setup.py +++ b/setup.py @@ -249,7 +249,11 @@ except ValueError: try: sys.argv.remove("--no-cython-compile") + compile_cython_itself = False except ValueError: + compile_cython_itself = True + +if compile_cython_itself: compile_cython_modules(cython_profile, cython_compile_more, cython_with_refnanny) setup_args.update(setuptools_extra_args)