Use uv to manage environment

This commit is contained in:
Yunxiao Xu
2025-09-19 03:39:40 -07:00
commit e3478763a6
17 changed files with 721 additions and 0 deletions

25
pyproject.toml Normal file
View File

@@ -0,0 +1,25 @@
[project]
name = "hysteria-panel"
version = "0.2.3"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"requests>=2.32.5",
"ttkbootstrap>=1.14.2",
]
[project.optional-dependencies]
socks = [
"requests[socks]>=2.32.5",
]
[project.gui-scripts]
hysteria-panel = "hysteria_panel.__main__:main"
[build-system]
requires = ["hatchling>=1.21.1"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/hysteria_panel"]