Update reference examples to match the tutorial
[linpy.git] / setup.py
index 4f3fd3b..609b2b9 100755 (executable)
--- a/setup.py
+++ b/setup.py
 
 from distutils.core import setup, Extension
 
+with open('linpy/_version.py') as file:
+    exec(file.read())
+
 setup(
     name='LinPy',
-    description='A polyhedral library based on ISL',
+    version=__version__,
+    description='A polyhedral library based on isl',
     author='MINES ParisTech',
-    url='https://scm.cri.ensmp.fr/git/linpy.git',
+    url='https://scm.cri.mines-paristech.fr/git/linpy.git',
     packages=['linpy'],
     ext_modules = [
         Extension('linpy._islhelper',