-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
63 lines (60 loc) · 1.81 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 os.path as osp
from setuptools import setup, find_packages
cdir = osp.abspath(osp.dirname(__file__))
README = open(osp.join(cdir, 'readme.rst')).read()
CHANGELOG = open(osp.join(cdir, 'changelog.rst')).read()
version_fpath = osp.join(cdir, 'keg', 'version.py')
version_globals = {}
with open(version_fpath) as fo:
exec(fo.read(), version_globals)
setup(
name="Keg",
version=version_globals['VERSION'],
description=("A web framework built on Flask & SQLAlchemy."
" Somewhere North of Flask but South of Django."),
long_description='\n\n'.join((README, CHANGELOG)),
author="Randy Syring",
author_email="[email protected]",
url='https://github.com/level12/keg',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
license='BSD',
packages=find_packages(),
zip_safe=False,
include_package_data=True,
install_requires=[
'appdirs',
'BlazeUtils',
'blinker',
'Click>=3.0',
'Flask',
'Flask-SQLAlchemy',
'python-json-logger',
'sqlalchemy',
],
extras_require={
'tests': [
'flask-webtest',
'flask-wtf',
'sqlalchemy_pyodbc_mssql',
'pyodbc==4.0.34',
'pytest',
'pytest-cov',
'python-dotenv',
'psycopg2-binary',
'mock',
],
'i18n': [
'morphi>=0.2.0'
],
}
)