|
1 | 1 | [build-system] |
2 | | -requires = ["hatchling"] |
| 2 | +requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"] |
3 | 3 | build-backend = "hatchling.build" |
4 | 4 |
|
5 | 5 | [project] |
6 | 6 | name = "cone.app" |
7 | | -version = "1.1.0.dev0" |
8 | 7 | description = "Web application stub" |
9 | | -readme = "README.rst" |
10 | | -license = {text = "Simplified BSD"} |
11 | | -authors = [{ name = "Cone Contributors", email = "[email protected]"}] |
| 8 | +dynamic = ["version", "readme"] |
| 9 | +requires-python = ">=3.10" |
12 | 10 | keywords = ["node", "pyramid", "cone", "web"] |
| 11 | +authors = [{ name = "Cone Contributors", email = "[email protected]"}] |
| 12 | +license = {text = "Simplified BSD"} |
13 | 13 | classifiers = [ |
14 | 14 | "Environment :: Web Environment", |
15 | 15 | "Programming Language :: Python", |
@@ -64,6 +64,27 @@ main = "cone.app:main" |
64 | 64 | [project.entry-points."paste.filter_app_factory"] |
65 | 65 | remote_addr = "cone.app:make_remote_addr_middleware" |
66 | 66 |
|
| 67 | +[tool.hatch.version] |
| 68 | +source = "vcs" |
| 69 | + |
| 70 | +[tool.hatch.build.hooks.vcs] |
| 71 | +version-file = "cone.app/_version.py" |
| 72 | + |
| 73 | +[tool.hatch.metadata] |
| 74 | +allow-direct-references = true |
| 75 | + |
| 76 | +[tool.hatch.metadata.hooks.fancy-pypi-readme] |
| 77 | +content-type = "text/x-rst" |
| 78 | + |
| 79 | +[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] |
| 80 | +path = "README.rst" |
| 81 | + |
| 82 | +[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] |
| 83 | +path = "CHANGES.rst" |
| 84 | + |
| 85 | +[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] |
| 86 | +path = "LICENSE.rst" |
| 87 | + |
67 | 88 | [tool.hatch.build.targets.sdist] |
68 | 89 | exclude = [ |
69 | 90 | "/docs", |
|
0 commit comments