Add more useful settings in their default values to setup.
This commit is contained in:
parent
6a0e8a7166
commit
567ba9cda2
|
@ -0,0 +1,6 @@
|
|||
[build_ext]
|
||||
# Uncomment this to disable assertions
|
||||
#define=PYREX_WITHOUT_ASSERTIONS
|
||||
|
||||
[build_doc]
|
||||
builder=html
|
5
setup.py
5
setup.py
|
@ -47,8 +47,9 @@ if os.path.exists(os.path.join(os.getcwd(), "efl", "eo", "efl.eo.pyx")):
|
|||
import Cython.Compiler.Options
|
||||
|
||||
assert StrictVersion(Cython.__version__) >= StrictVersion(min_ver)
|
||||
Cython.Compiler.Options.fast_fail = True # stop compilation on first error
|
||||
Cython.Compiler.Options.annotate = False # HTML file annotation generation
|
||||
Cython.Compiler.Options.fast_fail = True # Stop compilation on first error
|
||||
Cython.Compiler.Options.annotate = False # Generates HTML files with annotated source
|
||||
Cython.Compiler.Options.docstrings = True # Set to False to disable docstrings
|
||||
|
||||
except (ImportError, AssertionError):
|
||||
raise SystemExit("Requires Cython >= %s (http://cython.org/)" % min_ver)
|
||||
|
|
Loading…
Reference in New Issue