forked from pyeve/eve-sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (56 loc) · 1.9 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
63
import codecs
import os
from setuptools import find_packages, setup
def read(*parts):
here = os.path.abspath(os.path.dirname(__file__))
return codecs.open(os.path.join(here, *parts), 'r', 'utf-8').read()
# Import the project's metadata
metadata = {}
exec(read('eve_sqlalchemy', '__about__.py'), metadata)
test_dependencies = [
'mock',
'pytest',
]
setup(
name=metadata['__title__'],
version=metadata['__version__'],
description=(metadata['__summary__']),
long_description=read('README.rst') + "\n\n" + read('CHANGES'),
keywords='flask sqlalchemy rest',
author=metadata['__author__'],
author_email=metadata['__email__'],
url=metadata['__url__'],
license=metadata['__license__'],
platforms=['any'],
packages=find_packages(),
test_suite='eve_sqlalchemy.tests',
install_requires=[
'Eve>=0.6,<0.7',
'Flask-SQLAlchemy>=1.0,<2.999',
'SQLAlchemy>=1.1',
# keep until pip properly resolves dependencies:
'Flask<0.11',
],
tests_require=test_dependencies,
extras_require={
# This little hack allows us to reference our test dependencies within
# tox.ini. For details see http://stackoverflow.com/a/41398850 .
'test': test_dependencies,
},
zip_safe=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD 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 :: Internet :: WWW/HTTP :: Dynamic Content',
],
)