-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
62 lines (58 loc) · 1.59 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
import io
import os
import sys
import shutil
import subprocess
import setuptools
# read module version file
setup_abs_path = os.path.abspath(os.path.dirname(__file__))
version_abs_path = os.path.join(setup_abs_path, "mongobar", "__version__.py")
module_metadata = {}
with open(version_abs_path) as file_handle:
exec(file_handle.read(), module_metadata)
setuptools.setup(
name="mongobar",
version=module_metadata["__version__"],
description="MongoDB Backup and Restore manager",
keywords="mongodb backup restore mongodump mongorestore",
url="https://github.com/chrisantonellis/mongobar",
author="Christopher Antonellis",
author_email="christopher.antonellis@gmail.com",
license="MIT",
packages=[
"mongobar"
],
# https://stackoverflow.com/a/5899643/1671562
package_data={
"mongobar": [
"data/nouns.txt",
"data/verbs.txt"
]
},
scripts=[
"mongobar/scripts/mongobar"
],
install_requires=[
"pymongo",
"colorama",
"terminaltables",
"python-dateutil"
],
extras_require={
"tests": [
"green",
"coverage"
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development"
]
)