-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
43 lines (36 loc) · 1.23 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
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
with open("botshot_nlu/version.py") as fp:
version_dict = {}
exec(fp.read(), version_dict)
__version__ = version_dict['__version__']
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as fp:
requirements = fp.read().split("\n")
setup(
name='botshot-nlu',
version=__version__,
packages=find_packages(),
include_package_data=True,
description='A tiny NLU wrapper/library for Botshot.',
long_description=README,
url='https://github.com/botshot/botshot-nlu',
author='Matúš Žilinec',
author_email='[email protected]',
entry_points={
'console_scripts': [
'bots-nlu = botshot_nlu.cli:main'
]
},
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
install_requires=requirements,
)