forked from danielholmstrom/dictalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (49 loc) · 1.66 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
"""
~~~~~~~~~~~
Dictalchemy
~~~~~~~~~~~
Contains asdict() and fromdict() methods that will work on SQLAlchemy
declarative models.
Read more in the source or on github
<https://github.com/danielholmstrom/dictalchemy>.
"""
import os
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()
# Requirements for the package
install_requires = [
'SQLAlchemy>=0.9.4',
]
# Requirement for running tests
test_requires = install_requires
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(name='dictalchemy',
version='0.1.2.7',
description="Contains asdict and fromdict methods for SQL-Alchemy "
"declarative models",
long_description=README,
url='http://github.com/danielholmstrom/dictalchemy/',
license='MIT',
author='Daniel Holmstrom',
author_email='holmstrom.daniel@gmail.com',
platforms='any',
classifiers=['Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: '
'Libraries :: Python Modules'],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=test_requires,
test_suite='dictalchemy',
**extra)