diff pyproject.toml @ 7:4f42fdbb25f2

rename to hggit_serve
author Paul Fisher <paul@pfish.zone>
date Sun, 15 Feb 2026 01:49:42 -0500
parents 871dcb2a2aeb
children fe3c9fae4d4d
line wrap: on
line diff
--- a/pyproject.toml	Sun Feb 15 01:31:53 2026 -0500
+++ b/pyproject.toml	Sun Feb 15 01:49:42 2026 -0500
@@ -3,7 +3,7 @@
 build-backend = "hatchling.build"
 
 [project]
-name = "git-serve"
+name = "hg-git-serve"
 dynamic = ["version"]
 description = 'Serves Git repositories from Mercurial.'
 requires-python = ">=3.8"
@@ -29,24 +29,27 @@
   'hg-git',
 ]
 
+[tool.hatch.build.targets.wheel]
+packages = ['src/hggit_serve.py']
+
 [tool.hatch.version]
-path = "src/git_serve/__init__.py"
+path = "src/hggit_serve.py"
 
 [tool.hatch.envs.types]
 extra-dependencies = [
   "mypy>=1.0.0",
 ]
 [tool.hatch.envs.types.scripts]
-check = "mypy --install-types --non-interactive {args:src/git_serve tests}"
+check = "mypy --install-types --non-interactive {args:src/hggit_serve tests}"
 
 [tool.coverage.run]
-source_pkgs = ["git_serve", "tests"]
+source_pkgs = ["hggit_serve", "tests"]
 branch = true
 parallel = true
 
 [tool.coverage.paths]
-git_serve = ["src/git_serve", "*/git-serve/src/git_serve"]
-tests = ["tests", "*/git-serve/tests"]
+hggit_serve = ["src/hggit_serve"]
+tests = ["tests"]
 
 [tool.coverage.report]
 exclude_lines = [