comparison 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
comparison
equal deleted inserted replaced
6:7113e0ac3662 7:4f42fdbb25f2
1 [build-system] 1 [build-system]
2 requires = ["hatchling"] 2 requires = ["hatchling"]
3 build-backend = "hatchling.build" 3 build-backend = "hatchling.build"
4 4
5 [project] 5 [project]
6 name = "git-serve" 6 name = "hg-git-serve"
7 dynamic = ["version"] 7 dynamic = ["version"]
8 description = 'Serves Git repositories from Mercurial.' 8 description = 'Serves Git repositories from Mercurial.'
9 requires-python = ">=3.8" 9 requires-python = ">=3.8"
10 license = "MIT" 10 license = "MIT"
11 keywords = [] 11 keywords = []
27 'dulwich', 27 'dulwich',
28 'mercurial', 28 'mercurial',
29 'hg-git', 29 'hg-git',
30 ] 30 ]
31 31
32 [tool.hatch.build.targets.wheel]
33 packages = ['src/hggit_serve.py']
34
32 [tool.hatch.version] 35 [tool.hatch.version]
33 path = "src/git_serve/__init__.py" 36 path = "src/hggit_serve.py"
34 37
35 [tool.hatch.envs.types] 38 [tool.hatch.envs.types]
36 extra-dependencies = [ 39 extra-dependencies = [
37 "mypy>=1.0.0", 40 "mypy>=1.0.0",
38 ] 41 ]
39 [tool.hatch.envs.types.scripts] 42 [tool.hatch.envs.types.scripts]
40 check = "mypy --install-types --non-interactive {args:src/git_serve tests}" 43 check = "mypy --install-types --non-interactive {args:src/hggit_serve tests}"
41 44
42 [tool.coverage.run] 45 [tool.coverage.run]
43 source_pkgs = ["git_serve", "tests"] 46 source_pkgs = ["hggit_serve", "tests"]
44 branch = true 47 branch = true
45 parallel = true 48 parallel = true
46 49
47 [tool.coverage.paths] 50 [tool.coverage.paths]
48 git_serve = ["src/git_serve", "*/git-serve/src/git_serve"] 51 hggit_serve = ["src/hggit_serve"]
49 tests = ["tests", "*/git-serve/tests"] 52 tests = ["tests"]
50 53
51 [tool.coverage.report] 54 [tool.coverage.report]
52 exclude_lines = [ 55 exclude_lines = [
53 "no cov", 56 "no cov",
54 "if __name__ == .__main__.:", 57 "if __name__ == .__main__.:",