X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/841943174bb4d3b602e8e055592d8b54d1bb086d..2c6add2e9a2fbc48a6421ecd22f2f7fa9cbb15a0:/setup.py?ds=sidebyside diff --git a/setup.py b/setup.py index a0dfb8a..368983e 100755 --- a/setup.py +++ b/setup.py @@ -1,10 +1,15 @@ #!/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'], + libraries=['isl']) + ] )