Browse Source

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

rdb 9 years ago
parent
commit
58c1581c0c
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 = VERSION
+
 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)