forked from ray-project/ray-llm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (34 loc) · 1.1 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
from setuptools import find_packages, setup
with open("requirements.txt") as f:
required = f.read().splitlines()
with open("requirements-backend.txt") as f:
required_backend = f.read().splitlines()
with open("requirements-frontend.txt") as f:
required_frontend = f.read().splitlines()
with open("requirements-dev.txt") as f:
required_dev = f.read().splitlines()
with open("requirements-docs.txt") as f:
required_docs = f.read().splitlines()
setup(
name="rayllm",
version="0.4.0",
description="A tool to deploy and query LLMs",
packages=find_packages(include=["rayllm", "rayllm.*"]),
include_package_data=True,
package_data={"rayllm": ["models/*"]},
entry_points={
"console_scripts": [
"rayllm=rayllm.cli:app",
]
},
install_requires=required,
extras_require={
"backend": required_backend,
"frontend": required_frontend,
"dev": required_dev,
"test": required_dev,
"docs": required_docs,
},
dependency_links=["https://download.pytorch.org/whl/cu118"],
python_requires=">=3.8",
)