-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
64 lines (53 loc) · 1.56 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
# -*- coding: utf-8 -*-
"""setup.py -- setup file for duo module.
"""
import sys
import os
from setuptools import setup
PYVERSION = float('%s.%s' % (sys.version_info[0], sys.version_info[1]))
INSTALL_REQUIRES = [
'boto>=2.5.2',
'six',
]
TESTS_REQUIRE = [
'nose',
'mock',
'tox',
]
README = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.rst')
SETUP = dict(
name = "duo",
py_modules = ['duo', 'test_duo'],
install_requires = INSTALL_REQUIRES,
tests_require = TESTS_REQUIRE,
test_suite = 'nose.collector',
package_data = {
'': ['*.txt', '*.html'],
},
zip_safe = False,
version = "0.3.2",
description = "A powerful, dynamic, pythonic interface to AWS DynamoDB.",
long_description = open(README).read(),
author = "David Eyk",
author_email = "[email protected]",
url = "http://github.com/eykd/duo",
license = 'BSD',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Topic :: Database',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3.5',
],
)
if PYVERSION < 2.7:
INSTALL_REQUIRES.append('importlib')
TESTS_REQUIRE.append('unittest2==0.5.1')
SETUP['test_suite'] = 'unittest2.collector'
setup(**SETUP)