diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/setup.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/python/setup.py b/python/setup.py new file mode 100644 index 00000000..1bbb1c8a --- /dev/null +++ b/python/setup.py @@ -0,0 +1,21 @@ +from distutils.core import setup +from distutils.extension import Extension +from Cython.Build import cythonize +import numpy + +ext = Extension( + "*", + ["analytics/*.pyx"], + include_dirs=[numpy.get_include()], +) + +ext = cythonize([ext], + nthreads=2 +) + + +setup( + name="analytics", + packages=["analytics"], + ext_modules=ext, +) |
