-
Notifications
You must be signed in to change notification settings - Fork 158
/
setup.py
41 lines (37 loc) · 1.11 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
#!/usr/bin/env python
import io
from setuptools import setup, find_packages
readme = io.open('README.md', encoding='utf-8').read()
requirements = ['numpy',
"sklearn",
"joblib==0.14.1",
"sentencepiece",
"six>=1.12.0"
]
setup(
# Metadata
name='easytransfer',
version='0.1.4',
python_requires='>=2.7,>=3.6',
author='PAI NLP',
author_email='[email protected],'
url='https://github.com/alibaba/EasyTransfer',
description='PAI EasyTransfer Toolkit',
long_description=readme,
long_description_content_type='text/markdown',
extras_require={
"tf": ["tensorflow==1.12"],
"tf_gpu": ["tensorflow-gpu==1.12"]
},
entry_points = {
'console_scripts': [
'easy_transfer_app=easytransfer.app_zoo_cli:main',
'ez_bert_feat=easytransfer.feat_ext_cli:main']
},
packages=find_packages(),
license='Apache-2.0',
# Package info
install_requires=requirements
)