Skip to content

Commit 285afdd

Browse files
committed
more cleanup
1 parent 711a9f8 commit 285afdd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jupyter_releaser/tests/util.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ def setup_cfg_template(package_name="foo", module_name=None):
6262
[metadata]
6363
name = {package_name}
6464
version = attr: {module_name or package_name}.__version__
65-
long_description = file: README.md
6665
long_description_content_type = text/x-markdown
6766
6867
[options]
@@ -85,16 +84,18 @@ def pyproject_template(project_name="foo", sub_packages=[]):
8584
name = "{project_name}"
8685
version = "0.0.1"
8786
description = "My package description"
87+
dynamic = ["readme"]
8888
license = {{file = "LICENSE"}}
8989
authors = [
9090
{{email = "[email protected]"}},
9191
{{name = "foo"}}
9292
]
93-
dynamic = ["readme"]
9493
9594
[project.urls]
9695
homepage = "https://foo.com"
9796
97+
[tool.setuptools.dynamic]
98+
readme = {{file = "README.md"}}
9899
"""
99100
if sub_packages:
100101
res += f"""

0 commit comments

Comments
 (0)