-
Notifications
You must be signed in to change notification settings - Fork 374
/
setup.py
66 lines (58 loc) · 1.85 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
import sys
import setuptools
long_description = '''
Texar is an open-source toolkit based on TensorFlow,
aiming to support a broad set of machine learning especially text generation
tasks, such as machine translation, dialog, summarization, content manipulation,
language modeling, and so on.
Texar is designed for both researchers and practitioners for fast prototyping
and experimentation. Checkout https://github.com/asyml/texar-pytorch for the
PyTorch version which has the same functionalities and (mostly) the same
interfaces.
'''
if sys.version_info < (3, 6):
sys.exit('Python>=3.6 is required by Texar.')
setuptools.setup(
name="texar",
version="0.2.4",
url="https://github.com/asyml/texar",
description="Toolkit for Machine Learning and Text Generation",
long_description=long_description,
license='Apache License Version 2.0',
packages=setuptools.find_packages(),
platforms='any',
install_requires=[
'regex>=2018.01.10',
'numpy<1.17.0',
'pathlib>=1.0',
'pyyaml',
'requests',
'funcsigs>=1.0.2',
'sentencepiece>=0.1.8',
'packaging'
],
extras_require={
'tensorflow-cpu': [
'tensorflow>=1.10.0,<2.0',
'tensorflow-probability>=0.3.0,<0.8.0'
],
'tensorflow-gpu': [
'tensorflow-gpu>=1.10.0,<2.0',
'tensorflow-probability>=0.3.0,<0.8.0'
]
},
package_data={
"texar": [
"../bin/utils/multi-bleu.perl",
]
},
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)