projects
/
linpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch to setuptools
[linpy.git]
/
setup.py
diff --git
a/setup.py
b/setup.py
index
e380cb9
..
a7d10e2
100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-17,11
+17,21
@@
# You should have received a copy of the GNU General Public License
# along with LinPy. If not, see <http://www.gnu.org/licenses/>.
# 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',
setup(
name='LinPy',
+ version=__version__,
+ license='GPLv3',
description='A polyhedral library based on isl',
description='A polyhedral library based on isl',
+ long_description=long_description,
author='MINES ParisTech',
url='https://scm.cri.mines-paristech.fr/git/linpy.git',
packages=['linpy'],
author='MINES ParisTech',
url='https://scm.cri.mines-paristech.fr/git/linpy.git',
packages=['linpy'],