mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
Fix invalid metadata version 2.0 (should be 2.1)
This commit is contained in:
parent
105f938d68
commit
b6ec48b27c
@ -3271,7 +3271,7 @@ if not PkgSkip("PYTHON"):
|
|||||||
# This is just some basic stuff since setuptools just needs this file to
|
# 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
|
# 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.
|
# eventually want to merge this with the metadata generator in makewheel.py.
|
||||||
METADATA = """Metadata-Version: 2.0
|
METADATA = """Metadata-Version: 2.1
|
||||||
Name: Panda3D
|
Name: Panda3D
|
||||||
Version: {version}
|
Version: {version}
|
||||||
License: BSD
|
License: BSD
|
||||||
|
@ -122,7 +122,7 @@ PROJECT_URLS = dict([line.split('=', 1) for line in GetMetadataValue('project_ur
|
|||||||
METADATA = {
|
METADATA = {
|
||||||
"license": GetMetadataValue('license'),
|
"license": GetMetadataValue('license'),
|
||||||
"name": GetMetadataValue('name'),
|
"name": GetMetadataValue('name'),
|
||||||
"metadata_version": "2.0",
|
"metadata_version": "2.1",
|
||||||
"generator": "makepanda",
|
"generator": "makepanda",
|
||||||
"summary": GetMetadataValue('description'),
|
"summary": GetMetadataValue('description'),
|
||||||
"extensions": {
|
"extensions": {
|
||||||
|
@ -90,7 +90,7 @@ class FnargleLoader:
|
|||||||
""")
|
""")
|
||||||
tmpdir.join("fnargle.dist-info").mkdir()
|
tmpdir.join("fnargle.dist-info").mkdir()
|
||||||
tmpdir.join("fnargle.dist-info", "METADATA").write("""
|
tmpdir.join("fnargle.dist-info", "METADATA").write("""
|
||||||
Metadata-Version: 2.0
|
Metadata-Version: 2.1
|
||||||
Name: fnargle
|
Name: fnargle
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
""")
|
""")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user