setup.py 301 B

1234567891011121314
  1. from setuptools import Extension,setup
  2. from Cython.Build import cythonize
  3. extensions = [
  4. Extension("fp",
  5. sources=["sage/fp.pyx"],
  6. include_dirs=["src"],
  7. libraries=[],
  8. library_dirs=[],
  9. extra_compile_args = ['-O3','-mavx2','-mfma'],
  10. )
  11. ]
  12. setup(ext_modules=cythonize(extensions))