mirror of
https://github.com/panda3d/panda3d.git
synced 2026-01-07 15:39:46 -06:00
15 lines
357 B
Python
Executable File
15 lines
357 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
# This script parses the version number in setup.cfg
|
|
# and returns it on the command-line. This is useful for the
|
|
# automated scripts that build the Panda3D releases.
|
|
|
|
import sys
|
|
from makepandacore import GetMetadataValue
|
|
|
|
version = GetMetadataValue('version')
|
|
|
|
version = version.strip()
|
|
sys.stdout.write(version)
|
|
sys.stdout.flush()
|