forked from chutesai/chutes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
80 lines (76 loc) · 2.04 KB
/
Copy pathsetup.py
File metadata and controls
80 lines (76 loc) · 2.04 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# NOTE: Should replace with a pyproject.toml
import os
import sys
from setuptools import setup, find_packages
# Load full readme.
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md")) as infile:
long_description = infile.read()
# Load version.
here = os.path.abspath(os.path.dirname(__file__))
sys.path.append(os.path.join(here, "chutes"))
import _version # noqa
version = _version.version
setup(
name="chutes",
version=version,
description="Chutes development kit and CLI.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/rayonlabs/chutes",
author="Jon Durbin",
license_expression="MIT",
packages=find_packages(),
include_package_data=True,
package_data={
"chutes": [
"*.so",
"cfsv",
"cfsv_v2",
"cfsv_v3",
"cfsv_v4",
],
"chutes.envdump": ["*.so"],
},
install_requires=[
"aiohttp[speedups]>=3.10,<4",
"backoff>=2.2,<3",
"requests>=2.32",
"loguru>=0.7.2",
"fastapi>=0.110",
"uvicorn>=0.32.0,<0.39",
"hypercorn[h2]>=0.16,<0.18",
"pydantic>=2.9,<3",
"orjson>=3.10",
"setuptools>=0.75",
"substrate-interface>=1.7.11",
"rich>=13.0.0",
"typer>=0.12.5",
"graval>=0.2.6",
"prometheus-client>=0.21.0",
"cryptography",
"psutil",
"pyjwt>=2.10.1",
"netifaces",
"pyudev",
"aiofiles>=23",
"semver",
"huggingface_hub",
"hf_transfer",
"setproctitle",
"cllmv==0.1.3",
],
extras_require={
"dev": ["black", "flake8", "wheel", "pytest"],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
],
entry_points={
"console_scripts": [
"chutes=chutes.cli:app",
],
},
)