-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
44 lines (38 loc) · 1.12 KB
/
pyproject.toml
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
[project]
name = "deploykit"
dynamic = ["version"]
description = "Tianyi Network 静态网站部署工具"
authors = [
{name = "Tianyi Network"},
]
dependencies = [
"requests>=2.31.0",
"zstandard>=0.22.0",
"boto3>=1.34.74",
"fastapi>=0.110.0",
"uvicorn[standard]>=0.29.0",
"pydantic-settings>=2.2.1",
"install>=1.3.5",
"python-multipart>=0.0.9",
"pytz>=2024.1",
]
requires-python = ">=3.9"
readme = "README.md"
license = {text = "MPL-2.0"}
[project.scripts]
deployctl = "deploykit_client:main"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.version]
source = "file"
path = "src/deploykit_server/__init__.py"
[tool.pdm.build]
package-dir = "src"
[tool.pdm.scripts]
dev = {cmd = "uvicorn deploykit_server.app:app --reload --reload-dir src/", env = {API_KEY = "dev-api-key", APP_PATH = "tests/server/"}}
cli = {cmd = "deployctl", env = {API_KEY = "dev-api-key", API_URL = "http://localhost:8000", TIMEZONE = "America/Los_Angeles", PROJECT = "example-project"}}
start = {composite = ["dev"]}
server = "uvicorn deploykit_server.app:app"