forked from stevearc/flywheel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (51 loc) · 1.74 KB
/
setup.py
File metadata and controls
59 lines (51 loc) · 1.74 KB
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
""" Setup file """
import sys
from setuptools import setup, find_packages
import os
import re
HERE = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(HERE, 'README.rst')).read()
CHANGES = open(os.path.join(HERE, 'CHANGES.rst')).read()
# Remove custom RST extensions for pypi
CHANGES = re.sub(r'\(\s*:(issue|pr|sha):.*?\)', '', CHANGES)
REQUIREMENTS = [
'dynamo3>=0.2.0',
'six'
]
TEST_REQUIREMENTS = [
'nose',
'mock',
]
if sys.version_info[:2] < (2, 7):
TEST_REQUIREMENTS.extend(['unittest2'])
if __name__ == "__main__":
setup(
name='flywheel',
version='0.2.1',
description="SQLAlchemy-style ORM for Amazon's DynamoDB",
long_description=README + '\n\n' + CHANGES,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Database',
],
author='Steven Arcangeli',
author_email='[email protected]',
url='http://flywheel.readthedocs.org/',
license='MIT',
keywords='aws dynamo dynamodb orm odm',
platforms='any',
include_package_data=True,
packages=find_packages(exclude=('tests',)),
install_requires=REQUIREMENTS,
tests_require=REQUIREMENTS + TEST_REQUIREMENTS,
)