]> CRI, Mines Paris - PSL - linpy.git/blobdiff - setup.py
Add __slots__ declarations
[linpy.git] / setup.py
index a0dfb8aaa608abf9ccbe7a5119f25e7a639a1b85..caeacb50161ec915a6dcd084edd1816473165055 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -1,10 +1,13 @@
 #!/usr/bin/env python3
 
-from distutils.core import setup
+from distutils.core import setup, Extension
 
 setup(
     name='pypol',
     description='A polyhedral library based on ISL',
     author='MINES ParisTech',
-    packages=['pypol']
+    packages=['pypol'],
+    ext_modules = [
+        Extension('pypol._isl', sources=['pypol/_isl.c'])
+    ]
 )