-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
39 lines (31 loc) · 1.42 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
import setuptools
import os
__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
def read_requirements():
"""parses requirements from requirements.txt"""
reqs_path = os.path.join(__location__, 'requirements.txt')
with open(reqs_path, encoding='utf8') as f:
reqs = [line.strip() for line in f if not line.strip().startswith('#')]
names = []
links = []
for req in reqs:
if '://' in req:
links.append(req)
else:
names.append(req)
return {'install_requires': names, 'dependency_links': links}
setuptools.setup(
name='deeppavlov_agent',
version='2.2.0',
include_package_data=True,
description='An open source library, allowing you to create data processing systems based on a sequence graph, '
'alongside with saving sample processing results in database.',
long_description='An open source library, allowing you to create data processing systems based on a sequence '
'graph, alongside with saving sample processing results in database. '
'Possible application is chatbots or other NLP systems which combine multiple skills.',
keywords=['chatbots', 'microservices', 'dialog systems', 'NLP'],
packages=setuptools.find_packages(exclude=('docs',)),
python_requires='>=3.7',
url="https://github.com/deepmipt/dp-agent",
**read_requirements()
)