forked from stanfordnlp/pyreft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (31 loc) · 1.15 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
from setuptools import setup, find_packages
# Read the content of the README file
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
# Read the content of the requirements.txt file
with open('requirements.txt', 'r', encoding='utf-8') as f:
requirements = f.read().splitlines()
setup(
name="pyreft",
version="0.0.1",
description="REFT: Representation Finetuning for Language Models",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/stanfordnlp/reft",
author="Zhengxuan Wu",
author_email="[email protected]",
license="Apache License 2.0",
packages=find_packages(include=['pyreft', 'pyreft.*']),
python_requires='>=3.8',
install_requires=requirements,
extras_require={},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)