Skip to content

Commit 76812bf

Browse files
committed
update pyproject.toml. update webresource branch
1 parent 4392336 commit 76812bf

File tree

3 files changed

+28
-7
lines changed

3 files changed

+28
-7
lines changed

mx.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ branch = ${settings:feature_branch}
128128
use = ${settings:checkout_packages}
129129
url = ${settings:cs}/webresource.git
130130
pushurl = ${settings:cs_push}/webresource.git
131-
branch = ${settings:feature_branch}
131+
branch = master
132132
extras = test
133133
mxmake-test-path = tests
134134
mxmake-source-path = webresource

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"qunit": "^2.19.4",
1313
"rollup": "^2.79.2",
1414
"rollup-plugin-cleanup": "^3.2.1",
15-
"sass": "^1.93.3"
15+
"sass": "^1.94.0"
1616
}
1717
}

pyproject.toml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[build-system]
2-
requires = ["hatchling"]
2+
requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"]
33
build-backend = "hatchling.build"
44

55
[project]
66
name = "cone.app"
7-
version = "1.1.0.dev0"
87
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"
1210
keywords = ["node", "pyramid", "cone", "web"]
11+
authors = [{name = "Cone Contributors", email = "[email protected]"}]
12+
license = {text = "Simplified BSD"}
1313
classifiers = [
1414
"Environment :: Web Environment",
1515
"Programming Language :: Python",
@@ -64,6 +64,27 @@ main = "cone.app:main"
6464
[project.entry-points."paste.filter_app_factory"]
6565
remote_addr = "cone.app:make_remote_addr_middleware"
6666

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+
6788
[tool.hatch.build.targets.sdist]
6889
exclude = [
6990
"/docs",

0 commit comments

Comments
 (0)