-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
42 lines (38 loc) · 1.38 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
#!/usr/bin/env python
from setuptools import setup
version = __import__('chatbot.version').__version__
LANGUAGE_SUPPORT = __import__('chatbot.constants').LANGUAGE_SUPPORT
package_data = []
with open("README.md", "r") as fh:
long_description = fh.read()
for language in LANGUAGE_SUPPORT:
package_data.extend([
"local/%s/default.template" % language,
"local/%s/words.txt" % language,
"local/%s/substitutions.json" % language
])
setup(
name='chatbotAI',
version=version,
author="Ahmad Faizal B H",
author_email="[email protected]",
url="https://github.com/ahmadfaizalbh/Chatbot",
description="A chatbot AI engine is a chatbot builder platform that provids both bot intelligence and"
" chat handler with minimal codding",
long_description=long_description,
long_description_content_type="text/markdown",
packages=['chatbot', 'chatbot.spellcheck', 'chatbot.substitution'],
license='MIT',
keywords='chatbot ai engine and chat builder platform',
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
package_dir={
'chatbot': 'chatbot',
'chatbot.spellcheck': 'chatbot/spellcheck',
'chatbot.substitution': 'chatbot/substitution'
},
include_package_data=True,
package_data={"chatbot": package_data},
install_requires=[
'requests',
]
)