Fix .whl version when no explicit --version is specified

This commit is contained in:
rdb 2017-01-08 17:20:17 -05:00
parent 41d26284d7
commit 58c1581c0c

View File

@ -368,6 +368,9 @@ if VERSION is None:
else:
VERSION = ParsePandaVersion("dtool/PandaVersion.pp")
if WHLVERSION is None:
WHLVERSION = VERSION
print("Version: %s" % VERSION)
if RUNTIME or RTDIST:
print("Core API Version: %s" % COREAPI_VERSION)