Fix invalid metadata version 2.0 (should be 2.1)

This commit is contained in:
rdb 2024-05-28 22:28:37 +02:00
parent 105f938d68
commit b6ec48b27c
3 changed files with 3 additions and 3 deletions

View File

@ -3271,7 +3271,7 @@ if not PkgSkip("PYTHON"):
# This is just some basic stuff since setuptools just needs this file to
# exist, otherwise it will not read the entry_points.txt file. Maybe we will
# eventually want to merge this with the metadata generator in makewheel.py.
METADATA = """Metadata-Version: 2.0
METADATA = """Metadata-Version: 2.1
Name: Panda3D
Version: {version}
License: BSD

View File

@ -122,7 +122,7 @@ PROJECT_URLS = dict([line.split('=', 1) for line in GetMetadataValue('project_ur
METADATA = {
"license": GetMetadataValue('license'),
"name": GetMetadataValue('name'),
"metadata_version": "2.0",
"metadata_version": "2.1",
"generator": "makepanda",
"summary": GetMetadataValue('description'),
"extensions": {

View File

@ -90,7 +90,7 @@ class FnargleLoader:
""")
tmpdir.join("fnargle.dist-info").mkdir()
tmpdir.join("fnargle.dist-info", "METADATA").write("""
Metadata-Version: 2.0
Metadata-Version: 2.1
Name: fnargle
Version: 1.0.0
""")