X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/1551132d8878c3cec4609ec9b47cb30f72df5350..ce8dda550018a59520e2d632f10d3fe5650e9d0d:/setup.py?ds=sidebyside diff --git a/setup.py b/setup.py index 609b2b9..f3f62c1 100755 --- a/setup.py +++ b/setup.py @@ -17,21 +17,28 @@ # You should have received a copy of the GNU General Public License # along with LinPy. If not, see . -from distutils.core import setup, Extension +from distutils.core import Extension, setup + with open('linpy/_version.py') as file: + __version__ = None exec(file.read()) +with open('README.rst') as file: + long_description = file.read() + setup( name='LinPy', version=__version__, + license='GPLv3', 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'], - ext_modules = [ + ext_modules=[ Extension('linpy._islhelper', - sources=['linpy/_islhelper.c'], - libraries=['isl']) + sources=['linpy/_islhelper.c'], + libraries=['isl']) ] )