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