setup.py 366 B

12345678910111213141516
  1. from distutils.core import setup
  2. from Cython.Build import cythonize
  3. import numpy as np
  4. ext_options = dict(
  5. compiler_directives={'profile': False, 'language_level': 3},
  6. annotate=False,
  7. )
  8. setup(
  9. ext_modules=cythonize([
  10. 'app/colormap/colormap.pyx',
  11. 'app/trade/trade_utils.pyx',
  12. ], **ext_options),
  13. include_dirs=[np.get_include()],
  14. )