-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathsetup.py
89 lines (66 loc) · 2.11 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
"""
flask-dynamo
~~~~~~~~~~~~
DynamoDB integration for Flask!
Please visit this project's GitHub page to view all docs:
https://github.com/rdegges/flask-dynamo
-Randall
"""
from subprocess import call
from setuptools import Command, setup
from flask_dynamo import __version__
VERSION = __version__
class RunTests(Command):
"""Run all tests."""
description = 'run tests'
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
"""Run all tests!"""
import sys
import py.test
raise SystemExit(py.test.main(args=[]))
setup(
# Basic package information:
name = 'flask-dynamo',
version = VERSION,
packages = ['flask_dynamo'],
# Packaging options:
zip_safe = False,
include_package_data = True,
# Package dependencies:
install_requires = ['boto3>=1.1.4', 'Flask>=0.10.1'],
# Metadata for PyPI:
author = 'Randall Degges',
author_email = 'r@rdegges.com',
license = 'UNLICENSE',
url = 'https://github.com/rdegges/flask-dynamo',
keywords = 'python dynamodb dynamo aws amazon flask web database',
description = 'DynamoDB integration for Flask.',
long_description = __doc__,
# Classifiers:
platforms = 'any',
classifiers = [
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: Public Domain',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Database',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'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 :: Implementation :: PyPy',
],
# Test helper:
cmdclass = {'test': RunTests},
)