X-Git-Url: https://scm.cri.minesparis.psl.eu/git/linpy.git/blobdiff_plain/88b274d96fde76a3fb7f41c7c2359c8dc8987cb8..996195732e096c8f1c3c3db6263af895c66cfe4c:/setup.py

diff --git a/setup.py b/setup.py
index 4f3fd3b..a7d10e2 100755
--- a/setup.py
+++ b/setup.py
@@ -17,13 +17,23 @@
 # You should have received a copy of the GNU General Public License
 # along with LinPy.  If not, see <http://www.gnu.org/licenses/>.
 
-from distutils.core import setup, Extension
+from setuptools import setup, Extension
+
+
+with open('linpy/_version.py') as file:
+    exec(file.read())
+
+with open('README.rst') as file:
+    long_description=file.read()
 
 setup(
     name='LinPy',
-    description='A polyhedral library based on ISL',
+    version=__version__,
+    license='GPLv3',
+    description='A polyhedral library based on isl',
+    long_description=long_description,
     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',