Browse Source

sdist: dynamically compute readme (long_description)

The long_desc_from_readme() was not called, it just read the
whole README.rst until "readme" was declared dynamic.
Thomas Waldmann 1 năm trước cách đây
mục cha
commit
2bb4b3d650
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      pyproject.toml

+ 1 - 2
pyproject.toml

@@ -1,12 +1,11 @@
 [project]
 name = "borgbackup"
-dynamic = ["version"]
+dynamic = ["version", "readme"]
 authors = [{name="The Borg Collective (see AUTHORS file)"}]
 maintainers = [
     {name="Thomas Waldmann", email="tw@waldmann-edv.de"},
 ]
 description = "Deduplicated, encrypted, authenticated and compressed backups"
-readme = "README.rst"
 requires-python = ">=3.9"
 keywords = ["backup", "borgbackup"]
 classifiers = [