-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
41 lines (39 loc) · 1.34 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
from setuptools import setup, find_packages
with open("README.md", mode="r", encoding="utf-8") as readme_file:
readme = readme_file.read()
setup(
name="pytriplet", # named pytriplet in pypi to avoid repeated name
version="0.0.5",
author="Congcong Wang",
author_email="wangcongcongcc@gmail.com",
description="Fine-tuning Transformers with TPUs or GPUs acceleration, written in Tensorflow2.0",
long_description=readme,
long_description_content_type="text/markdown",
license="MIT License",
url="https://github.com/wangcongcong123/ttt",
download_url="https://github.com/wangcongcong123/ttt/releases/download/v0.0.3/pytriplet.tar.gz",
packages=find_packages(),
install_requires=[
"tensorflow==2.3.0",
"sklearn",
"tqdm",
"keras",
"tensorboardX",
"nlp",
"sacrebleu",
"datasets",
"transformers"
],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
],
keywords="Transformers, Tensorflow, TPUs acceleration"
)
# commands for uploading to pypi
# python setup.py sdist
# pip install twine
# twine upload dist/*