forked from christabor/flask_jsondash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
69 lines (62 loc) · 1.74 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
"""Setup for Flask Jsondash."""
import os
from setuptools import setup
SRCDIR = '.'
folder = os.path.abspath(os.path.dirname(__file__))
test_requirements = [
'pytest==4.0.2',
'pytest-cov==2.6.1',
'pyquery==1.4.0',
'requests_mock',
]
extras_require = {
'wordcloud-utils': [
'requests',
'pyquery',
'requests-mock',
]
}
requirements = [
'click==7.0',
'Flask',
'cerberus',
'pymongo==3.7.2',
]
def readme():
"""Grab the long README file."""
try:
with open('README.md', 'r') as fobj:
return fobj.read()
except IOError:
try:
with open('README.rst', 'r') as fobj:
return fobj.read()
except IOError:
return 'No README specified.'
setup(
name='flask_jsondash',
version='6.3.3',
description=('Easily configurable, chart dashboards from any '
'arbitrary API endpoint. JSON config only. Ready to go.'),
long_description=readme(),
author='Chris Tabor',
author_email='[email protected]',
url='https://github.com/christabor/flask_jsondash',
license='MIT',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
extras_require=extras_require,
tests_require=test_requirements,
install_requires=requirements,
package_dir={'flask_jsondash': 'flask_jsondash'},
packages=['flask_jsondash'],
zip_safe=False,
include_package_data=True,
)