mirror of
https://github.com/panda3d/panda3d.git
synced 2026-04-29 19:21:30 -05:00
660249a5cc
Co-authored-by: rdb <git@rdb.name> Closes #734
15 lines
388 B
Python
Executable File
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()
|