forked from stevearc/dql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (55 loc) · 1.77 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
""" Setup file """
import os
import sys
from setuptools import setup, find_packages
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()
REQUIREMENTS = [
'dynamo3',
'six',
'pyparsing',
'python-dateutil',
]
TEST_REQUIREMENTS = [
'nose',
'mock',
]
if sys.version_info[:2] < (2, 7):
REQUIREMENTS.extend(['ordereddict', 'argparse'])
TEST_REQUIREMENTS.append('unittest2')
if __name__ == "__main__":
setup(
name='dql',
version='0.2.0',
description='DynamoDB Query Language',
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',
],
author='Steven Arcangeli',
author_email='stevearc@stevearc.com',
url='http://github.com/mathcamp/dql',
keywords='aws dynamo dynamodb sql',
license='MIT',
platforms='any',
include_package_data=True,
packages=find_packages(exclude=('tests',)),
entry_points={
'console_scripts': [
'dql = dql:main',
],
},
install_requires=REQUIREMENTS,
tests_require=REQUIREMENTS + TEST_REQUIREMENTS,
)