-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
46 lines (43 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
43
44
45
46
import os
from setuptools import setup, find_packages
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except ImportError:
long_description = open('README.md').read()
__version__ = ""
exec(open('opentc/core/setting.py').read())
if os.path.islink("opentc/util"):
os.remove("opentc/util")
setup(
name='opentc',
version=__version__,
description='A text classification engine using machine learning and designed as client-server architecture',
long_description=long_description,
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Text Processing :: Filters'
],
keywords='machine learning cnn svm bayesian',
url='https://github.com/cahya-wirawan/opentc',
author='Cahya Wirawan',
author_email='Cahya.Wirawan@gmail.com',
license='MIT',
packages=find_packages('.'),
package_dir={'': '.'},
install_requires=[
'numpy',
'opentc-util',
'pyparsing',
'PyYAML',
'scikit-learn',
'scipy',
'tensorflow'
],
scripts=['bin/opentc', 'bin/opentcd'],
data_files=[('/etc/opentc', ['config/opentc.yml', 'config/logging.yml'])],
include_package_data=True,
zip_safe=False)