-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
123 lines (102 loc) · 2.73 KB
/
setup.py
File metadata and controls
123 lines (102 loc) · 2.73 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup, find_packages
with open('README.md', encoding='utf-8') as readme_file:
readme = readme_file.read()
with open('HISTORY.md', encoding='utf-8') as history_file:
history = history_file.read()
requirements = [
'Click>=6.0',
# General
'termcolor==1.1.0',
'PyYAML==5.1',
'passlib==1.7.2',
# Math
'numpy>=1.15.4',
'pandas>=1.0.3',
# Flask
'Flask==1.0.2',
'Flask-Cors==3.0.7',
'Flask-RESTful==0.3.7',
'Werkzeug==0.15.5',
'greenlet==0.4.17',
'gevent==1.5',
# Database
'mongoengine>=0.16.3,<0.17',
'pymongo>=3.7.2,<4',
# Explanations
'pyreal==0.1.0.dev0',
]
setup_requirements = [
'pytest-runner>=2.11.1',
]
test_requirements = [
'coverage>=4.5.1',
'pytest>=5.3.1',
'tox>=2.9.1',
# --- Flask Testing --- #
'pytest-flask>=0.14.0',
'pytest-xdist>=1.25.0',
]
development_requirements = [
'wheel>=0.30.0'
# general
'bumpversion>=0.5.3',
'pip>=9.0.1',
'watchdog>=0.8.3',
'scikit-learn>=0.23.0'
# docs
'm2r>=0.2.0',
'sphinx>=1.7.1',
'sphinx_rtd_theme>=0.2.4',
# style check
'flake8>=3.5.0',
'isort>=4.3.4,<5.0.0',
# fix style issues
'autoflake>=1.1',
'autopep8>=1.3.5',
# distribute on PyPI
'twine>=1.10.0',
]
setup(
author='MIT Data To AI Lab',
author_email='dailabmit@gmail.com',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
description='Explanation tool for machine learning',
entry_points={
'console_scripts': [
'sibylapp=sibylapp.cli:main',
],
},
extras_require={
'test': test_requirements,
'dev': development_requirements + test_requirements,
},
install_package_data=True,
install_requires=requirements,
license='MIT license',
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
include_package_data=True,
keywords='sibylapp sibylapp sibylapp',
name='sibylapp',
packages=find_packages(include=['sibylapp', 'sibylapp.*']),
python_requires='>=3.5',
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/HDI-Project/sibylapp',
version='0.1.0.dev0',
zip_safe=False,
)