Add islhelper.c library to handle isl constants
[linpy.git] / setup.py
index a0dfb8a..08587b7 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/islhelper', sources=['pypol/islhelper.c'])
+    ]
 )