-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (32 loc) · 1.02 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
# setup.py
from setuptools import setup, find_packages
import os
from thabit.constants.platform import CURRENT_VERSION
def read_requirements(file_path):
with open(file_path, "r") as file:
return [
line.strip() for line in file if line.strip() and not line.startswith("#")
]
requirements_path = os.path.join(os.path.dirname(__file__), "requirements.txt")
setup(
name="thabit",
version=CURRENT_VERSION,
packages=find_packages(),
package_data={
"thabit": ["templates/*"],
},
entry_points={
"console_scripts": [
"thabit=thabit.thabit:cli",
],
},
install_requires=read_requirements(requirements_path),
description="Thabit: evaluate multiple LLMs on your data",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Oras Al-Kubaisi",
author_email="[email protected]",
url="https://github.com/thabit-ai/thabit",
classifiers=["Topic :: Utilities"],
python_requires=">=3.6",
)