-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
75 lines (66 loc) · 2.82 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
from setuptools import setup
import sys
pyversion = sys.version_info
if pyversion[0] == 2 and pyversion[1] >= 7:
python_req = ">=2.7"
elif pyversion >= (3, 6):
python_req = ">=3.6"
else:
# python_requires is only availabe since setuptools 24.2.0 and pip 9.0.0
sys.exit("Python 2.7 (or newer) or 3.6 (or newer) is required to use this package.")
requirements = []
setup(
name="muninn",
version="6.4.1",
description="Data product catalogue and archive system",
url="https://github.com/stcorp/muninn",
author="S[&]T",
license="BSD",
packages=["muninn", "muninn.tools", "muninn.database", "muninn.storage"],
entry_points={"console_scripts": [
"muninn-attach = muninn.tools.attach:main",
"muninn-destroy = muninn.tools.destroy:main",
"muninn-export = muninn.tools.export:main",
"muninn-hash = muninn.tools.hash:main",
"muninn-info = muninn.tools.info:main",
"muninn-ingest = muninn.tools.ingest:main",
"muninn-list-tags = muninn.tools.list_tags:main",
"muninn-prepare = muninn.tools.prepare:main",
"muninn-pull = muninn.tools.pull:main",
"muninn-remove = muninn.tools.remove:main",
"muninn-retrieve = muninn.tools.retrieve:main",
"muninn-search = muninn.tools.search:main",
"muninn-strip = muninn.tools.strip:main",
"muninn-summary = muninn.tools.summary:main",
"muninn-tag = muninn.tools.tag:main",
"muninn-untag = muninn.tools.untag:main",
"muninn-update = muninn.tools.update:main",
]},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
],
python_requires=python_req,
install_requires=requirements
)
# For the postgres backend you will need psycopg 2.2 or higher.
# For the sqlite backend you will need sqlite/pysqlite2 with the mod_spatialite
# extension.
# For muninn-pull using http requests you will need 'requests' 2.13.0 or higher
# For muninn-pull using sftp requests you will need 'paramiko'
# For muninn-pull with oauth2 authentication you weel need 'requests-oauthlib'
# and 'oauthlib'
# To get more output formatting options for muninn-search install 'tabulate'
# To see progress bars for muninn-update install 'tqdm'