mirror of
https://github.com/open-webui/computer.git
synced 2026-11-27 15:49:24 -05:00
72 lines
1.5 KiB
TOML
72 lines
1.5 KiB
TOML
[project]
|
|
name = "cptr"
|
|
version = "0.1.8"
|
|
description = "Your computer, from anywhere. Code, manage, and control your machine from the web."
|
|
license = {file = "LICENSE"}
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
dependencies = [
|
|
"click>=8.1",
|
|
"fastapi[standard]>=0.128.8",
|
|
"httpx>=0.28.1",
|
|
"watchdog>=6.0.0",
|
|
"bcrypt>=4.0",
|
|
"sqlalchemy[asyncio]>=2.0",
|
|
"aiosqlite>=0.20",
|
|
"alembic>=1.13",
|
|
"PyJWT>=2.8",
|
|
"cryptography>=42.0",
|
|
"python-socketio[asgi]>=5.11",
|
|
"pywinpty>=2.0; sys_platform == 'win32'",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
pam = ["python-pam>=2.0"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0.14.8",
|
|
]
|
|
|
|
[project.scripts]
|
|
cptr = "cptr.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["cptr"]
|
|
artifacts = ["cptr/frontend/build"]
|
|
exclude = [
|
|
"cptr/frontend/src",
|
|
"cptr/frontend/node_modules",
|
|
"cptr/frontend/.svelte-kit",
|
|
"cptr/frontend/static",
|
|
"cptr/frontend/package*.json",
|
|
"cptr/frontend/vite.config.*",
|
|
"cptr/frontend/svelte.config.*",
|
|
"cptr/frontend/tsconfig.json",
|
|
"cptr/frontend/.gitignore",
|
|
"cptr/frontend/.npmrc",
|
|
"cptr/frontend/.prettierrc",
|
|
"cptr/frontend/.prettierignore",
|
|
"cptr/frontend/README.md",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel.force-include]
|
|
"CHANGELOG.md" = "cptr/CHANGELOG.md"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py39"
|
|
extend-exclude = [
|
|
"cptr/frontend",
|
|
"dist",
|
|
]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
line-ending = "auto"
|