projects
/
linpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update documentation for pip
[linpy.git]
/
setup.py
diff --git
a/setup.py
b/setup.py
index
f72af50
..
2aff11f
100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-2,31
+2,43
@@
# Copyright 2014 MINES ParisTech
#
# Copyright 2014 MINES ParisTech
#
-# This file is part of Lin
p
y.
+# This file is part of Lin
P
y.
#
#
-# Lin
p
y is free software: you can redistribute it and/or modify
+# Lin
P
y is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
-# Lin
p
y is distributed in the hope that it will be useful,
+# Lin
P
y is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with Lin
p
y. If not, see <http://www.gnu.org/licenses/>.
+# along with Lin
P
y. 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(
setup(
- name='pypol',
- description='A polyhedral library based on ISL',
+ name='LinPy',
+ version=__version__,
+ license='GPLv3',
+ description='A polyhedral library based on isl',
+ long_description=long_description,
author='MINES ParisTech',
author='MINES ParisTech',
- packages=['pypol'],
- ext_modules = [
- Extension('pypol._islhelper',
- sources=['pypol/_islhelper.c'],
+ url='https://scm.cri.mines-paristech.fr/git/linpy.git',
+ packages=['linpy'],
+ ext_modules=[
+ Extension('linpy._islhelper',
+ sources=['linpy/_islhelper.c'],
libraries=['isl'])
libraries=['isl'])
- ]
+ ],
+ test_suite='linpy.tests'
)
)