forked from asyml/texar-pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (56 loc) · 1.87 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
import sys
import setuptools
long_description = """
Texar-PyTorch is an open-source toolkit based on PyTorch,
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 for the TensorFlow
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-PyTorch.')
setuptools.setup(
name="texar-pytorch",
version="0.1.3",
url="https://github.com/asyml/texar-pytorch",
description="Toolkit for Machine Learning and Text Generation",
long_description=long_description,
license='Apache License Version 2.0',
packages=[
f"texar.{name}"
for name in setuptools.find_packages(where='texar')
],
platforms='any',
install_requires=[
'regex>=2018.01.10',
'numpy>=1.16.6',
'requests',
'funcsigs',
'sentencepiece>=0.1.96',
'mypy_extensions',
'packaging>=19.0',
'asyml-utilities>=0.0.1.dev1'
],
extras_require={
'torch': ['torch>=1.0.0'],
'examples': [],
'extras': ['Pillow>=3.0', 'tensorboardX>=1.8', 'six>=1.15'],
'dist': ['adaptdl>=0.2.4']
},
package_data={
"texar.torch": [
"../../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',
],
)