Files
panda3d/makepanda/getversion.py
T
Mitchell Stokes 660249a5cc Remove p3d/AppRunner/plugin system
Co-authored-by: rdb <git@rdb.name>

Closes #734
2019-09-10 16:49:57 +02:00

15 lines
388 B
Python
Executable File

#!/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()