-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
70 lines (65 loc) · 2.67 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
#!/usr/bin/env python
#
# Setup script for the Artificial Intelligence Toolkit
#
# Copyright (C) 2018 AITK Project
# Author: Daohan Chong <[email protected]>
# For license information, see LICENSE
# Versioning code from NLTK, Apache License, Version 2.0:
# Use the VERSION file to get the version
import os
from setuptools import setup, find_packages
version_file = os.path.join(os.path.dirname(__file__), 'aitk', 'VERSION')
with open(version_file) as fh:
aitk_version = fh.read().strip()
with open('requirements.txt') as f:
required = f.read().splitlines()
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = '\n' + f.read()
setup(
name="aitk",
description="Artificial Intelligence Toolkit",
version=aitk_version,
url="https://aitk.ai/",
long_description=long_description,
keywords=['NLP', 'CL', 'natural language processing',
'CV', 'computer vision', 'face recognition',
'speech to text', 'text to speech', 'translation', 'chatbot',
'OCR', 'optical character recognition', 'artificial intelligence', ],
maintainer="Daohan Chong",
maintainer_email="[email protected]",
author="Daohan Chong",
author_email="[email protected]",
classifiers=[
# 'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Human Machine Interfaces',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing',
'Topic :: Text Processing :: Filters',
'Topic :: Text Processing :: General',
'Topic :: Text Processing :: Indexing',
'Topic :: Text Processing :: Linguistic',
'Topic :: Scientific/Engineering :: Image Recognition',
],
package_data={'aitk': ['test/*.doctest', 'VERSION']},
install_requires=required,
# extras_require=extras_require,
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
# TODO: Add CLI tools
# entry_points={
# 'console_scripts': ['aitk = aitk.cli:main']
# },
include_package_data=True,
)