-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (52 loc) · 1.72 KB
/
setup.py
File metadata and controls
61 lines (52 loc) · 1.72 KB
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
import io
import os
from setuptools import find_packages
from setuptools import setup
name = 'baleian-ml-keyword_classifier'
description = 'Korean keyword classifier implemented by tensorflow'
release_status = 'Development Status :: 3 - Alpha'
dependencies = [
'pandas',
'numpy',
'scikit-learn',
'tensorflow==2.5.0',
'tensorflowjs==3.7.0'
]
root_path = os.path.abspath(os.path.dirname(__file__))
version = {}
with open(os.path.join(root_path, 'baleian/ml/keyword_classifier/version.py')) as f:
exec(f.read(), version)
version = version['__version__']
readme_filename = os.path.join(root_path, 'README.rst')
with io.open(readme_filename, encoding='utf-8') as readme_file:
readme = readme_file.read()
packages = [
package for package in find_packages() if package.startswith('baleian')
]
namespaces = ['baleian', 'baleian.ml']
setup(
name=name,
version=version,
description=description,
long_description=readme,
author='baleian',
author_email='baleian90@gmail.com',
license='MIT',
url='https://github.com/baleian/python-ml-keyword_classifier',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Artificial Intelligence'
],
packages=packages,
namespace_packages=namespaces,
install_requires=dependencies,
python_requires='>=3.6'
)