forked from NatLibFi/Annif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (63 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
64
65
66
67
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='annif',
version='0.56.0-dev',
url='https://github.com/NatLibFi/Annif',
author='Osma Suominen',
author_email='[email protected]',
description='Automated subject indexing and classification tool',
long_description=read('README.md'),
long_description_content_type='text/markdown',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
python_requires='>=3.7',
install_requires=[
'connexion2[swagger-ui]',
'swagger_ui_bundle',
'flask>=1.0.4,<3',
'flask-cors',
'click==8.0.*',
'click-log',
'joblib==1.1.0',
'nltk',
'gensim==4.1.*',
'scikit-learn==1.0.2',
'scipy==1.7.*',
'rdflib>=4.2,<7.0',
'gunicorn',
'numpy==1.21.*',
'optuna==2.10.*',
'stwfsapy==0.3.*',
'python-dateutil',
],
tests_require=['py', 'pytest', 'requests'],
extras_require={
'fasttext': ['fasttext==0.9.2'],
'voikko': ['voikko'],
'nn': ['tensorflow-cpu==2.7.0', 'lmdb==1.3.0'],
'omikuji': ['omikuji==0.4.*'],
'yake': ['yake==0.4.5'],
'pycld3': ['pycld3'],
'spacy': ['spacy==3.2.*'],
'dev': [
'codecov',
'pytest-cov',
'pytest-watch',
'pytest-flask',
'pytest-flake8',
'bumpversion',
'autopep8'
]
},
entry_points={
'console_scripts': ['annif=annif.cli:cli']},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
)