diff --git a/setup.py b/setup.py index 52cf70f..fa4f92f 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,5 @@ """pylandstats setup script.""" -import platform from pathlib import Path from setuptools import setup @@ -11,18 +10,12 @@ here = Path(__file__).parent.absolute() -if platform.system() == "Windows": - backend = "numba" -else: - backend = "pythran" +backend = "pythran" paths = ["pylandstats/landscape.py"] make_backend_files([here / path for path in paths], backend=backend) -if platform.system() == "Linux": - compile_args = ("-O3", "-DUSE_XSIMD") -else: - compile_args = ("-O3",) +compile_args = ("-O3", "-DUSE_XSIMD") extensions = init_transonic_extensions( "pylandstats", compile_args=compile_args, backend=backend