From b865b31390f911e5c07d698f7de484832de9d39a Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 3 Nov 2017 20:05:58 +0100 Subject: [PATCH] makepanda: add __version__ attribute to panda3d module --- makepanda/makepanda.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 4234eede0b..a27fb0f009 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -2702,7 +2702,9 @@ for basename in del_files: # Write an appropriate panda3d/__init__.py p3d_init = """"Python bindings for the Panda3D libraries" -""" + +__version__ = '%s' +""" % (WHLVERSION) if GetTarget() == 'windows': p3d_init += """