summaryrefslogtreecommitdiffstats
path: root/experiments/setup.py
diff options
context:
space:
mode:
authorBen Green <ben@SEASITs-MacBook-Pro.local>2015-06-08 22:28:56 -0400
committerBen Green <ben@SEASITs-MacBook-Pro.local>2015-06-08 22:28:56 -0400
commit8e1f8ca089ddfd3b2f4d78f797e4449682285bdb (patch)
tree2a77c2d44d25a093e7790a134153dbbf7a14f9ad /experiments/setup.py
parent1739e9f5706bb8a73de5dbf0b467de49ea040898 (diff)
downloadcriminal_cascades-8e1f8ca089ddfd3b2f4d78f797e4449682285bdb.tar.gz
Ben’s first commit after getting code working!
Diffstat (limited to 'experiments/setup.py')
-rw-r--r--experiments/setup.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/experiments/setup.py b/experiments/setup.py
new file mode 100644
index 0000000..49667b7
--- /dev/null
+++ b/experiments/setup.py
@@ -0,0 +1,12 @@
+# compile with: python setup.py build_ext --inplace
+
+from distutils.core import setup
+from Cython.Build import cythonize
+import numpy
+
+setup(
+ ext_modules = cythonize("ml.pyx"),
+ include_dirs=[numpy.get_include()]
+
+)
+