diff --git a/setup.cfg b/setup.cfg index b9c45fb89c4da805a40f9a40e8db457034f34ad0..6a958b27bd40b96b386298528facd131844b59f8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -42,7 +42,7 @@ project_urls = [options] zip_safe = false -packages = pyfastani, pyfastani.tests +packages = pyfastani, pyfastani.tests, pyfastani.tests.data python_requires = >=3.6 test_suite = pyfastani.tests include_package_data = true diff --git a/setup.py b/setup.py index 78aec7009527abae84fe17e3d8d7cbad24a1c450..10d7b9d5ea9517f72e152dff49f86ca481a44b91 100644 --- a/setup.py +++ b/setup.py @@ -526,6 +526,7 @@ extensions = [ include_dirs=[ "include", "pyfastani", + os.path.join("vendor", "cpu_features", "include"), os.path.join("vendor", "boost-math", "include"), os.path.join("pyfastani", "_sequtils"), ], @@ -539,7 +540,12 @@ extensions = [ Extension( "pyfastani._fasta", [os.path.join("pyfastani", "_fasta.pyx")], - include_dirs=["include", "pyfastani", os.path.join("pyfastani", "simd")], + include_dirs=[ + "include", + "pyfastani", + os.path.join("vendor", "cpu_features", "include"), + os.path.join("pyfastani", "simd") + ], language="c", libraries=["sequtils"], )