-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathsetup.py
62 lines (57 loc) · 2.05 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 sys
from setuptools import setup, find_packages
install_requires = [
'pymongo>=3.2.1',
'configparser>=3.5.0'
]
if sys.version_info < (3, 4):
# Backport of Python 3.4 enums to earlier versions
# reference: https://github.com/donnemartin/saws/commit/f109bc8f534905797ee44239cb766ea3de4ceb5d
# credit to [donnemartin](https://github.com/donnemartin) and [geraldlnj](https://github.com/geraldlnj
install_requires.append('enum34>=1.1.6')
DESCRIPTION = "A database migration tool for MongoDB"
def get_read_me():
try:
with open('README.md') as f:
return f.read()
except IOError:
return DESCRIPTION
setup(
name='mongodb-migrations',
version='1.3.1',
description=DESCRIPTION,
long_description=get_read_me(),
long_description_content_type="text/markdown",
url='https://github.com/DoubleCiti/mongodb-migrations',
author='David Xie',
author_email='[email protected]',
license='GPLv3',
packages=find_packages(),
platforms='any',
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
'console_scripts': [
'mongodb-migrate=mongodb_migrations.cli:main',
'mongodb-migrate-create=mongodb_migrations.cli:create_migration'
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Environment :: Console',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'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',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)