-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
47 lines (44 loc) · 1.55 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
# installation: pip install dbsnap_verify
from setuptools import setup, find_packages
setup(
name="dbsnap",
version="0.1.0",
description="Tools for copying and verifying AWS RDS snapshots.",
keywords="aws rds snapshot tool infrastructure copy verify",
long_description=open("README.rst").read(),
author="Russell Ballestrini",
author_email="[email protected]",
url="https://github.com/remind101/dbsnap",
license="New BSD license",
packages=find_packages(),
install_requires=["boto3", "botocore>=1.6.0"],
tests_require=["nose", "mock", "funcsigs", "flake8", "pytest"],
setup_requires=["pytest-runner"],
entry_points={
"console_scripts": [
"dbsnap-verify = dbsnap_verify.__main__:main",
"dbsnap-copy = dbsnap_copy.__main__:main",
]
},
classifiers=[
"Intended Audience :: Developers, Operators, System Administrators",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
)
"""
setup()
keyword args: http://peak.telecommunity.com/DevCenter/setuptools
configure pypi username and password in ~/.pypirc::
[pypi]
username:
password:
build and upload to pypi with this::
python setup.py sdist bdist_egg register upload
"""