Skip to content
Snippets Groups Projects
Commit 4a588d8d authored by Martin Larralde's avatar Martin Larralde
Browse files

Disable Boost exception handling in `setup.py`

parent f7afa594
No related branches found
No related tags found
No related merge requests found
...@@ -466,8 +466,11 @@ extensions = [ ...@@ -466,8 +466,11 @@ extensions = [
[os.path.join("pyfastani", x) for x in ("_utils.cpp", "omp.cpp", "_fastani.pyx")], [os.path.join("pyfastani", x) for x in ("_utils.cpp", "omp.cpp", "_fastani.pyx")],
language="c++", language="c++",
include_dirs=["include", "pyfastani", os.path.join("pyfastani", "_sequtils")], include_dirs=["include", "pyfastani", os.path.join("pyfastani", "_sequtils")],
define_macros=[("USE_BOOST", 1)], # used to compile FastANI without GSL libraries=["sequtils"],
libraries=["sequtils"] define_macros=[
("USE_BOOST", 1), # used to compile FastANI without GSL
("BOOST_NO_EXCEPTIONS", 1), # don't raise overflow errors
],
), ),
Extension( Extension(
"pyfastani._fasta", "pyfastani._fasta",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment