Пример #1
0
]

# Binaries to never scan for dependencies on non-Windows systems.
IGNORE_UNIX_DEPS_OF = [
    "panda3d_tools/pstats",
]

WHEEL_DATA = """Wheel-Version: 1.0
Generator: makepanda
Root-Is-Purelib: false
Tag: {0}-{1}-{2}
"""

PROJECT_URLS = dict([
    line.split('=', 1)
    for line in GetMetadataValue('project_urls').strip().splitlines()
])

METADATA = {
    "license": GetMetadataValue('license'),
    "name": GetMetadataValue('name'),
    "metadata_version": "2.0",
    "generator": "makepanda",
    "summary": GetMetadataValue('description'),
    "extensions": {
        "python.details": {
            "project_urls":
            dict(PROJECT_URLS, Home=GetMetadataValue('url')),
            "document_names": {
                "license": "LICENSE.txt"
            },
Пример #2
0
#!/usr/bin/env python

# This script parses the version number in dtool/PandaVersion.pp
# and returns it on the command-line.  This is useful for the
# automated scripts that build the Panda3D releases.

from makepandacore import ParsePandaVersion, GetMetadataValue
import sys

version = GetMetadataValue('version')

version = version.strip()
sys.stdout.write(version)
sys.stdout.flush()
Пример #3
0
    "libdrm.so.2",
]

# Binaries to never scan for dependencies on non-Windows systems.
IGNORE_UNIX_DEPS_OF = [
    "panda3d_tools/pstats",
]

WHEEL_DATA = """Wheel-Version: 1.0
Generator: makepanda
Root-Is-Purelib: false
Tag: {0}-{1}-{2}
"""

METADATA = {
    "license": GetMetadataValue('license'),
    "name": GetMetadataValue('name'),
    "metadata_version": "2.0",
    "generator": "makepanda",
    "summary": GetMetadataValue('description'),
    "extensions": {
        "python.details": {
            "project_urls": {
                "Home": GetMetadataValue('url'),
            },
            "document_names": {
                "license": "LICENSE.txt"
            },
            "contacts": [{
                "role": "author",
                "name": GetMetadataValue('author'),
Пример #4
0
#!/usr/bin/env python

# This script parses the version number in dtool/PandaVersion.pp
# and returns it on the command-line.  This is useful for the
# automated scripts that build the Panda3D releases.

from makepandacore import ParsePandaVersion, ParsePluginVersion, GetMetadataValue
import sys

if '--runtime' in sys.argv:
    version = ParsePluginVersion("dtool/PandaVersion.pp")
else:
    version = GetMetadataValue('version')

version = version.strip()
sys.stdout.write(version)
sys.stdout.flush()