-
Notifications
You must be signed in to change notification settings - Fork 321
/
setup.py
executable file
·62 lines (57 loc) · 2.19 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
#!/usr/bin/env python
from os.path import join, dirname, abspath
from runpy import run_path
from setuptools import setup
version = run_path(join(abspath(dirname(__file__)), 'chatbot', 'version.py'))
constants = run_path(join(abspath(dirname(__file__)), 'chatbot', 'constants.py'))
LANGUAGE_SUPPORT = constants['LANGUAGE_SUPPORT']
package_data = ["media/send.png", "media/robot.png", "media/user.png"]
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
])
package_dir = {
'chatbot': 'chatbot',
'chatbot.spellcheck': 'chatbot/spellcheck',
'chatbot.substitution': 'chatbot/substitution',
'chatbot.chat_gui': 'chatbot/chat_gui'
}
setup(
name='chatbotAI',
version=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 provides both bot intelligence and"
" chat handler with minimal codding",
long_description=long_description,
long_description_content_type="text/markdown",
packages=list(package_dir.keys()),
license='MIT',
keywords='chatbot ai engine and chat builder platform',
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
package_dir=package_dir,
include_package_data=True,
package_data={"chatbot": package_data},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Natural Language :: German',
'Natural Language :: Portuguese (Brazilian)',
'Natural Language :: Hebrew',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Communications :: Chat',
],
install_requires=[
'requests',
]
)