-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
62 lines (54 loc) · 1.72 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
"""
Flask-Alchemyview
~~~~~~~~~~~~~~~~~
A Flask ModelView for SQLAlchemy models.
"""
import os
import sys
from setuptools import find_packages
from distutils.core import 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.8.0',
'Flask-Classy',
'colander',
'dictalchemy',
]
# Requirement for running tests
test_requires = install_requires + [
'flask-sqlalchemy'
]
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(name='Flask-AlchemyView',
version='0.1.4',
description="Simple ModelView for auto-generating Flask Views based on "
"SQLAlchemy models",
long_description=README,
url='http://github.com/danielholmstrom/flask-alchemyview/',
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',
'Framework :: Flask',
],
py_modules=['flask_alchemyview'],
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=test_requires,
test_suite='tests',
**extra
)