mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
makepanda: add __version__ attribute to panda3d module
This commit is contained in:
parent
19fe51eddd
commit
b865b31390
@ -2702,7 +2702,9 @@ for basename in del_files:
|
|||||||
|
|
||||||
# Write an appropriate panda3d/__init__.py
|
# Write an appropriate panda3d/__init__.py
|
||||||
p3d_init = """"Python bindings for the Panda3D libraries"
|
p3d_init = """"Python bindings for the Panda3D libraries"
|
||||||
"""
|
|
||||||
|
__version__ = '%s'
|
||||||
|
""" % (WHLVERSION)
|
||||||
|
|
||||||
if GetTarget() == 'windows':
|
if GetTarget() == 'windows':
|
||||||
p3d_init += """
|
p3d_init += """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user