Martico2432 commited on
Commit
893e2ec
·
verified ·
1 Parent(s): 5dfa86f

Upload setup.py

Browse files
Files changed (1) hide show
  1. setup.py +12 -0
setup.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy
2
+ from Cython.Build import cythonize
3
+ from setuptools import Extension, setup
4
+
5
+ ext = Extension(
6
+ "rosa",
7
+ ["rosa.pyx"],
8
+ include_dirs=[numpy.get_include()],
9
+ extra_compile_args=["/O3", "/openmp"],
10
+ )
11
+
12
+ setup(ext_modules=cythonize([ext], language_level=3))