This repository has been archived by the owner on May 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (51 loc) · 1.45 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
from setuptools import setup, find_packages
from textwrap import dedent
from sparfa_server import __author__, __license__, __version__
TESTS_REQUIRE = [
'pycodestyle',
'pytest',
'pytest-cov',
'vcrpy',
'vcrpy-unittest'
]
setup(
name='sparfa-server',
version=__version__,
author=__author__,
url='https://github.com/openstax/biglearn-sparfa-server',
description='Integrates SPARFA algorithms with the Biglearn servers',
long_description=dedent("""
Biglearn SPARFA Server integrates the SPARFA algorithms (TeSR and CLUe)
with the Biglearn servers, allowing them to be used with OpenStax Tutor.
""").strip(),
license=__license__,
packages=find_packages(),
# python_requires makes the deployment fail because of https://github.com/pypa/pip/issues/5369
# python_requires='>= 3.6, < 3.7',
install_requires=[
'alembic',
'celery',
'celery-once',
'celery-redbeat',
'click',
'fastjsonschema',
'flask',
'gevent',
'gunicorn',
'honcho',
'kombu',
'numpy',
'psycopg2',
'python-dotenv',
'redis',
'requests',
'scipy',
'sentry_sdk',
'sparfa-algs',
'SQLAlchemy'
],
tests_require=TESTS_REQUIRE,
extras_require={'dev': TESTS_REQUIRE},
setup_requires=['pytest-runner'],
entry_points={'console_scripts': ['sparfa=sparfa_server.cli:main']}
)