X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/blobdiff_plain/996195732e096c8f1c3c3db6263af895c66cfe4c..d585b06ccf67b2837519f4b48c6800dcdb924d9d:/setup.py diff --git a/setup.py b/setup.py index a7d10e2..f3f62c1 100755 --- a/setup.py +++ b/setup.py @@ -17,14 +17,15 @@ # You should have received a copy of the GNU General Public License # along with LinPy. If not, see . -from setuptools 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() + long_description = file.read() setup( name='LinPy', @@ -35,9 +36,9 @@ setup( 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']) ] )