From 80ee613746acd87a30f69b7942b8486aa8216b2b Mon Sep 17 00:00:00 2001 From: snowykami Date: Thu, 3 Oct 2024 00:13:57 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=B7=BB=E5=8A=A0=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- pyproject.toml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7bfde4b..b1e0f6e 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ _✨ 服务器状态 - 客户端 ✨_ Debian系请使用pipx安装 ```bash -sudo apt install python3-pipx +sudo apt install pipx pipx install server-status ``` diff --git a/pyproject.toml b/pyproject.toml index 222e3c0..51d43ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "server-status" dynamic = ["version"] description = "Server status client" authors = [ - {name = "snowykami", email = "snowykami@outlook.com"}, + { name = "snowykami", email = "snowykami@outlook.com" }, ] dependencies = [ "requests>=2.32.3", @@ -12,12 +12,14 @@ dependencies = [ ] requires-python = ">=3.11" readme = "README.md" -license = {text = "MIT"} +license = { text = "MIT" } [build-system] requires = ["pdm-backend"] build-backend = "pdm.backend" +[project.scripts] +litedoc = "server_status.__main__:main" [tool.pdm] distribution = true