forked from mesolitica/malaya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup-gpu.py
43 lines (36 loc) · 1.25 KB
/
setup-gpu.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
import setuptools
__packagename__ = 'malaya-gpu'
def readme():
with open('README-pypi.rst', 'rb') as f:
return f.read().decode('UTF-8')
with open('requirements.txt') as fopen:
req = list(filter(None, fopen.read().split('\n')))
setuptools.setup(
name = __packagename__,
packages = setuptools.find_packages(),
version = '4.2.1',
python_requires = '>=3.6.*',
description = 'Natural-Language-Toolkit for bahasa Malaysia, powered by Deep Learning Tensorflow. GPU Version',
long_description = readme(),
author = 'huseinzol05',
author_email = '[email protected]',
url = 'https://github.com/huseinzol05/Malaya',
download_url = 'https://github.com/huseinzol05/Malaya/archive/master.zip',
keywords = ['nlp', 'bm'],
install_requires = req + ['tensorflow-gpu>=1.15'],
license = 'MIT',
classifiers = [
'Programming Language :: Python :: 3.6',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Text Processing',
],
package_data = {
'malaya': [
'function/web/*.html',
'function/web/static/*.js',
'function/web/static/*.css',
]
},
)