forked from RasaHQ/rasa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
101 lines (92 loc) · 2.98 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
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
import io
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
# Avoids IDE errors, but actual version is read from version.py
__version__ = None
exec(open('rasa_nlu/version.py').read())
# Get the long description from the README file
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
tests_requires = [
"pytest~=3.3",
"pytest-pycodestyle~=1.4",
"pytest-cov~=2.5",
"pytest-twisted<1.6",
"treq~=17.8",
"responses~=0.9.0",
"httpretty~=0.9.0",
]
install_requires = [
"cloudpickle~=0.6.1",
"gevent~=1.2",
"klein~=17.10",
"boto3~=1.5",
"packaging~=18.0",
"typing~=3.6",
"future~=0.17.1",
"tqdm~=4.19",
"requests~=2.20",
"jsonschema~=2.6",
"matplotlib~=2.0",
"numpy>=1.13",
"simplejson~=3.13",
"ruamel.yaml~=0.15.7",
"coloredlogs~=10.0",
"scikit-learn~=0.20.2"
]
extras_requires = {
'test': tests_requires,
'spacy': ["sklearn-crfsuite~=0.3.6",
"scipy~=1.1",
"spacy<=2.0.18,>2.0",
],
'tensorflow': ["sklearn-crfsuite~=0.3.6",
"scipy~=1.1",
"tensorflow~=1.12",
"keras-applications==1.0.6",
"keras-preprocessing==1.0.5"
],
'mitie': ["mitie"],
}
setup(
name='rasa-nlu',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
# supported python versions
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries",
],
version=__version__,
install_requires=install_requires,
tests_require=tests_requires,
extras_require=extras_requires,
include_package_data=True,
description="Rasa NLU a natural language parser for bots",
long_description=long_description,
long_description_content_type="text/markdown",
author='Rasa Technologies GmbH',
author_email='[email protected]',
maintainer="Tom Bocklisch",
maintainer_email="[email protected]",
license='Apache 2.0',
url="https://rasa.com",
keywords="nlp machine-learning machine-learning-library bot bots "
"botkit rasa conversational-agents conversational-ai chatbot"
"chatbot-framework bot-framework",
download_url="https://github.com/RasaHQ/rasa_nlu/archive/{}.tar.gz"
"".format(__version__),
project_urls={
'Bug Reports': 'https://github.com/rasahq/rasa_nlu/issues',
'Source': 'https://github.com/rasahq/rasa_nlu',
},
)
print("\nWelcome to Rasa NLU!")
print("If any questions please visit documentation "
"page https://rasa.com/docs/nlu/")
print("or join the community discussions on https://forum.rasa.com")