Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
LAMBERT Jean-charles
unsio
Commits
cec1deaa
Commit
cec1deaa
authored
Oct 01, 2020
by
LAMBERT Jean-charles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python3.8 support
parent
1d01e8f5
Pipeline
#3104
passed with stage
in 6 minutes and 5 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
py/unsio/test/check_platform.py
py/unsio/test/check_platform.py
+5
-1
setup.py
setup.py
+8
-8
No files found.
py/unsio/test/check_platform.py
View file @
cec1deaa
...
...
@@ -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
())
,
my
plat
e
form
,
self
.
__linux_distribution
(),
platform
.
system
(),
platform
.
machine
(),
...
...
setup.py
View file @
cec1deaa
...
...
@@ -48,7 +48,7 @@ class build_py(_build_py, object):
#
MAJOR
=
'0'
MINOR
=
'9'
MICRO
=
'3rc
5
'
MICRO
=
'3rc
6
'
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
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment