forked from NatLibFi/Annif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (46 loc) · 1.37 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
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.47.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,
install_requires=[
'connexion[swagger-ui]',
'swagger_ui_bundle',
'flask',
'flask-cors',
'click',
'click-log',
'joblib==0.14.*',
'nltk',
'gensim==3.8.*',
'scikit-learn==0.22.*',
'rdflib',
'numpy==1.17.*',
],
tests_require=['py', 'pytest', 'requests'],
extras_require={
'fasttext': ['fasttextmirror==0.8.22'],
'voikko': ['voikko'],
'vw': ['vowpalwabbit==8.7.*'],
'nn': ['tensorflow==2.0.*', 'lmdb==0.98'],
'omikuji': ['omikuji==0.2.*'],
},
entry_points={
'console_scripts': ['annif=annif.cli:cli']},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
)