-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
27 lines (23 loc) · 952 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
import sys
from pathlib import Path
from setuptools import setup, find_packages
package_dir = Path(__file__).parent / "green_bit_llm"
with open(Path(__file__).parent / "requirements.txt") as fid:
requirements = [l.strip() for l in fid.readlines()]
sys.path.append(str(package_dir))
from version import __version__
setup(
name="green-bit-llm",
version=__version__,
description="A toolkit for fine-tuning, inferencing, and evaluating GreenBitAI's LLMs.",
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
author_email="[email protected]",
author="GreenBitAI Contributors",
url="https://github.com/GreenBitAI/green-bit-llm",
license="Apache-2.0",
install_requires=requirements,
packages=find_packages(where=".", exclude=["tests", "tests.*", "examples", "examples.*"]),
python_requires=">=3.9",
data_files=[('.', ['requirements.txt'])],
)