Rename example squares.py into tutorial.py
[linpy.git] / setup.py
index 72dfa95..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',
+    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',