Fix typo in README.rst
[linpy.git] / setup.py
index e380cb9..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.mines-paristech.fr/git/linpy.git',