-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
70 lines (63 loc) · 2.09 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
64
65
66
67
68
69
70
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from imp import load_source
import sys
test_requirements = [
'pytest >= 2.4',
'pytest-pep8 >= 1.0',
'pytest-cov >= 1.6'
]
if sys.version_info[0] < 3:
test_requirements += ['mock']
mysql_requirements = ['oursql == 0.9.3']
else:
mysql_requirements = ['oursql == 0.9.4']
setup(
name='alchemist',
version=load_source('', 'alchemist/_version.py').__version__,
description='A server architecture built on top of a solid foundation '
'provided by flask, sqlalchemy, and various extensions.',
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Flask',
# 'Framework :: SQLAlchemy',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
],
author='Concordus Applications',
author_email='[email protected]',
url='http://github.com/concordusapps/alchemist',
packages=find_packages('.'),
entry_points={'pytest11': ['alchemist = alchemist.plugin']},
dependency_links=[
'https://launchpad.net/oursql/py3k/py3k-0.9.4/+download/'
'oursql-0.9.4.tar.gz#egg=oursql-0.9.4',
'git+git://github.com/kvesteri/sqlalchemy-utils.git'
'#egg=sqlalchemy-utils-0.21.0',
],
install_requires=[
'colorama',
'termcolor >= 1.1, < 1.2',
'flask >= 0.10',
'blinker >= 1.3',
'flask-components >= 0.1',
'flask-script >= 0.6.6',
'sqlalchemy >= 0.8',
'sqlalchemy-utils >= 0.21',
'alembic >= 0.6, < 0.7',
'pygments',
'requests',
'wsgi_intercept >= 0.6.0'
] + test_requirements,
tests_require=test_requirements,
extras_require={
'mysql': mysql_requirements
}
)