Commit 45ab2ca8 authored by Daniel Eggert's avatar Daniel Eggert
Browse files

revised setup.py and removed m2r dependency

parent 7fa90255
from distutils.core import setup
import os
import pathlib
from setuptools import setup
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'
]
)
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