mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
makewheel: add __version__ and docstring to panda3d/__init__.py
This commit is contained in:
parent
2a2b48134b
commit
c959d274be
@ -488,7 +488,10 @@ def makewheel(version, output_dir, platform=default_platform):
|
|||||||
|
|
||||||
# Write the panda3d tree. We use a custom empty __init__ since the
|
# Write the panda3d tree. We use a custom empty __init__ since the
|
||||||
# default one adds the bin directory to the PATH, which we don't have.
|
# default one adds the bin directory to the PATH, which we don't have.
|
||||||
whl.write_file_data('panda3d/__init__.py', '')
|
whl.write_file_data('panda3d/__init__.py', """"Python bindings for the Panda3D libraries"
|
||||||
|
|
||||||
|
__version__ = '{0}'
|
||||||
|
""".format(version))
|
||||||
|
|
||||||
ext_suffix = GetExtensionSuffix()
|
ext_suffix = GetExtensionSuffix()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user