Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digitalearth
DASF Data Analytics Software Framework
dasf-progress-api
Commits
45ab2ca8
Commit
45ab2ca8
authored
Oct 01, 2021
by
Daniel Eggert
Browse files
revised setup.py and removed m2r dependency
parent
7fa90255
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
45ab2ca8
from
distutils.core
import
setup
import
o
s
import
pathlib
from
setuptools
import
s
etup
readme_file
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)),
'README.md'
)
try
:
from
m2r
import
parse_from_file
readme
=
parse_from_file
(
readme_file
)
except
ImportError
:
# m2r may not be installed in user environment
print
(
'm2r not installed'
)
readme
=
'documentation see: https://git.geomar.de/digital-earth/dasf/dasf-progress-api/-/blob/master/README.md'
# The directory containing this file
HERE
=
pathlib
.
Path
(
__file__
).
parent
print
(
readme
)
version
=
'0.1.4'
# The text of the README file
README
=
(
HERE
/
"README.md"
).
read_text
()
version
=
'0.1.4'
setup
(
name
=
'deprogressapi'
,
packages
=
[
'deprogressapi'
],
version
=
version
,
description
=
'basic back-end progress api for the data analytics software framework dasf'
,
long_description
=
readme
,
long_description
=
README
,
long_description_content_type
=
'text/markdown'
,
license
=
'Apache-2.0'
,
author
=
'Daniel Eggert <daniel.eggert@gfz-potsdam.de>, Adam Sasin <sasin@hu-potsdam.de>'
,
author_email
=
'daniel.eggert@gfz-potsdam.de'
,
author_email
=
'daniel.eggert@gfz-potsdam.de'
,
keywords
=
[
'dasf'
,
'digital-earth'
,
'pulsar'
,
'gfz'
,
'progress reporting'
,
'api'
],
url
=
'https://git.geomar.de/digital-earth/dasf/dasf-progress-api'
,
download_url
=
'https://git.geomar.de/digital-earth/dasf/dasf-progress-api/-/archive/v'
+
version
+
'/dasf-progress-api-v'
+
version
+
'.tar.gz'
,
...
...
@@ -33,4 +27,7 @@ setup(
'License :: OSI Approved :: Apache Software License'
,
'Programming Language :: Python :: 3.8'
,
],
setup_requires
=
[
'wheel'
]
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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