makepanda: add __version__ attribute to panda3d module

This commit is contained in:
rdb 2017-11-03 20:05:58 +01:00
parent 19fe51eddd
commit b865b31390

View File

@ -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 += """