From 0036cdf473c5e5f3d0e7a51b917c199cab59089b Mon Sep 17 00:00:00 2001 From: tech Date: Thu, 28 May 2026 17:38:44 +0800 Subject: [PATCH] feat: add project scaffolding with pyproject.toml and src layout Co-Authored-By: Claude Opus 4.7 --- pyproject.toml | 16 ++++++++++++++++ src/jianda_proxy/__init__.py | 1 + 2 files changed, 17 insertions(+) create mode 100644 pyproject.toml create mode 100644 src/jianda_proxy/__init__.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..0f8f342 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,16 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "jianda-proxy" +version = "0.1.0" +description = "HTTP proxy for Gitea LFS — rewrites Host header to bypass ICP domain block" +requires-python = ">=3.8" +dependencies = [] + +[project.scripts] +jianda-proxy = "jianda_proxy.cli:main" + +[tool.hatch.build.targets.wheel] +packages = ["src/jianda_proxy"] \ No newline at end of file diff --git a/src/jianda_proxy/__init__.py b/src/jianda_proxy/__init__.py new file mode 100644 index 0000000..a68927d --- /dev/null +++ b/src/jianda_proxy/__init__.py @@ -0,0 +1 @@ +__version__ = "0.1.0" \ No newline at end of file