Commit cec1deaa authored by LAMBERT Jean-charles's avatar LAMBERT Jean-charles
Browse files

python3.8 support

parent 1d01e8f5
Pipeline #3104 passed with stage
in 6 minutes and 5 seconds
......@@ -41,6 +41,10 @@ class CPlateform:
"""
Display platform information
"""
try:
myplateform=str(platform.dist())
except:
myplateform="none"
print("""
Python version : %s
dist : %s
......@@ -53,7 +57,7 @@ mac_ver : %s
uname : %s
""" % (
sys.version.split('\n'),
str(platform.dist()),
myplateform,
self.__linux_distribution(),
platform.system(),
platform.machine(),
......
......@@ -48,7 +48,7 @@ class build_py(_build_py, object):
#
MAJOR = '0'
MINOR = '9'
MICRO = '3rc5'
MICRO = '3rc6'
VERSION = '%s.%s.%s' % (MAJOR, MINOR, MICRO)
#
......@@ -100,6 +100,7 @@ def setup_package():
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Software Development"],
platforms=["Linux", "Mac OS-X", "Unix"],
......@@ -117,14 +118,13 @@ def setup_package():
'-I./py/unsio', '-Iswig'],
include_dirs=[numpy_include, 'src'],
libraries=['unsio'],
library_dirs=[
os.environ['HOME']+'/local/unsio/lib',
os.environ['HOME']+'/local/unsio/lib/x86_64-linux-gnu',
'/usr/lib64', '/lib64'],
library_dirs=[os.environ['HOME']+'/local/unsio/lib',
os.environ['HOME']+'/local/unsio/lib/x86_64-linux-gnu',
'/usr/lib64', '/lib64'],
runtime_library_dirs=[
os.environ['HOME']+'/local/unsio/lib',
os.environ['HOME']+'/local/unsio/lib/x86_64-linux-gnu',
'/usr/lib64', '/lib64']
os.environ['HOME']+'/local/unsio/lib',
os.environ['HOME']+'/local/unsio/lib/x86_64-linux-gnu',
'/usr/lib64', '/lib64']
)
],
entry_points={
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment