This repository has been archived by the owner on Aug 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
56 lines (51 loc) · 1.75 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
""" Setup file """
import os
import re
import sys
from setuptools import find_packages, setup
HERE = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(HERE, 'README.rst')).read()
# Remove syntax highlighting for pypi
README = re.sub(r'.. sourcecode.*', '::', README)
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.4.9,<1.0',
'six'
]
TEST_REQUIREMENTS = [
'nose',
'mock',
]
if __name__ == "__main__":
setup(
name='flywheel',
version='0.5.4',
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.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Database',
],
author='Steven Arcangeli',
author_email='stevearc@stevearc.com',
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,
)