Browse Source

makepanda: Give WHLVERSION a better default than None

Mitchell Stokes 9 years ago
parent
commit
c746296e57
1 changed files with 3 additions and 0 deletions
  1. 3 0
      makepanda/makepanda.py

+ 3 - 0
makepanda/makepanda.py

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