forked from cdwfs/pyaiml
-
Notifications
You must be signed in to change notification settings - Fork 54
/
setup.py
75 lines (60 loc) · 2.48 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
'''
Build the python-aiml Py2/Py3 package
'''
from setuptools import setup
import glob
from aiml.constants import VERSION
#package_prefix = "Lib/site-packages/aiml"
PKGNAME = 'python-aiml'
GITHUB_URL = 'https://github.com/paulovn/' + PKGNAME
setup_args = dict( name=PKGNAME,
version=VERSION,
author="Paulo Villegas",
author_email="[email protected]",
description="An interpreter package for AIML, the Artificial Intelligence Markup Language",
long_description="""python-aiml implements an interpreter for AIML, the Artificial Intelligence
Markup Language developed by Dr. Richard Wallace of the A.L.I.C.E. Foundation.
It can be used to implement a conversational AI program.
Forked from PyAIML 0.8.6 (https://github.com/cdwfs/pyaiml)
PyAIML (c) Cort Stratton
""",
url=GITHUB_URL,
download_url = GITHUB_URL + '/tarball/v' + VERSION,
platforms=["any"],
classifiers=["Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Communications :: Chat",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
],
install_requires = [ 'setuptools',
],
packages=[ "aiml", 'aiml.script' ],
# package_dir = { 'aiml': 'aiml',
# 'aiml.script' : 'aiml/script' },
include_package_data = False, # otherwise package_data is not used
package_data={ 'aiml': ['botdata/standard/*.aiml',
'botdata/standard/*.xml',
'botdata/alice/*.aiml',
'botdata/alice/*.xml',
]},
entry_points = { 'console_scripts': [
'aiml-validate = aiml.script.aimlvalidate:main',
'aiml-bot = aiml.script.bot:main',
]},
test_suite = 'test.__main__.load_tests',
# data_files=[
# (package_prefix, glob.glob("aiml/self-test.aiml")),
# (package_prefix, glob.glob("*.txt")),
# ],
)
if __name__ == '__main__':
setup( **setup_args )