-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (33 loc) · 915 Bytes
/
setup.py
File metadata and controls
39 lines (33 loc) · 915 Bytes
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
# SPDX-License-Identifier: Apache-2.0
import os
from setuptools import find_packages, setup
# Collect static file paths
def package_files(directory):
paths = []
for path, directories, filenames in os.walk(directory):
for filename in filenames:
paths.append(os.path.join("..", path, filename))
return paths
# Static file paths
static_files = package_files("lmcache_frontend/")
setup(
name="lmcache_frontend",
version="0.1.13",
packages=find_packages(),
include_package_data=True,
package_data={
"lmcache_frontend": static_files,
},
install_requires=[
"Flask",
"setuptools>=77.0.3",
"packaging>=24.2",
"setuptools_scm>=8",
"wheel",
"fastapi",
"uvicorn",
"httpx",
"starlette",
],
entry_points={"console_scripts": ["lmcache-frontend=lmcache_frontend.app:main"]},
)