-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy pathsetup.py
33 lines (27 loc) · 930 Bytes
/
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
# Copyright (c) Ming Ding, et al. in KEG, Tsinghua University.
#
# LICENSE file in the root directory of this source tree.
import json
import sys
import os
from pathlib import Path
from setuptools import find_packages, setup
def _requirements():
return Path("requirements.txt").read_text()
setup(
name="SwissArmyTransformer",
version='0.4.12', # don't forget to modify __init__.py __version__
description="A transformer-based framework with finetuning as the first class citizen.",
long_description=Path("README.md").read_text(),
long_description_content_type="text/markdown",
install_requires=_requirements(),
entry_points={},
packages=find_packages(),
url="https://github.com/THUDM/SwissArmyTransformer",
author="Ming Ding, et al.",
author_email="[email protected]",
scripts={},
include_package_data=True,
python_requires=">=3.5",
license="Apache 2.0 license"
)