-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
56 lines (53 loc) · 1.58 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
from setuptools import setup
from setuptools import find_packages
from pkg_resources import resource_filename
from pyGMS import __version__
# METADATA
NAME = 'pygms-cmeessen'
MODULE = 'pyGMS'
VERSION = __version__
AUTHOR = 'Christian Meeßen'
AUTHOR_EMAIL = 'christian.meessen@gfz-potsdam.de'
MAINTAINER = 'Christian Meeßen'
MAINTAINER_EMAIL = 'christian.meessen@gfz-potsdam.de'
URL = 'https://github.com/cmeessen/pyGMS'
DESCRIPTION = 'A Python module to analyse models created with the GeoModellingSystem'
try:
with open(resource_filename(MODULE, '../README.md'), 'r') as fh:
LONG_DESCRIPTION = fh.read()
except ImportError:
with open('README.md') as fh:
LONG_DESCRIPTION = fh.read()
LONG_DESCRIPTION_TYPE = 'text/markdown'
PACKAGE_DATA = find_packages()
CLASSIFIERS = [
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'License :: OSI Approved :: GNU GPL-3.0',
'Operating System :: OS Independent',
'Topic :: Geophysics',
]
# DEPENDENCIES
INSTALL_REQUIRES = [
'numpy',
'matplotlib',
'pandas',
'scipy'
]
if __name__ == '__main__':
setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESCRIPTION_TYPE,
url=URL,
packages=PACKAGE_DATA,
classifiers=CLASSIFIERS,
install_requires=INSTALL_REQUIRES,
)