|
|
@@ -577,6 +577,9 @@ def makewheel(version, output_dir, platform=default_platform):
|
|
|
funcname = basename.replace('-', '_')
|
|
|
entry_points += '{0} = panda3d_tools:{1}\n'.format(basename, funcname)
|
|
|
tools_init += '{0} = lambda: _exec_tool({1!r})\n'.format(funcname, file)
|
|
|
+ entry_points += '[distutils.commands]\n'
|
|
|
+ entry_points += 'build_p3d = direct.showutil.dist:build_p3d\n'
|
|
|
+ entry_points += 'bdist_p3d_archive = direct.showutil.dist:bdist_p3d_archive\n'
|
|
|
|
|
|
whl.write_file_data('panda3d_tools/__init__.py', PANDA3D_TOOLS_INIT.format(tools_init))
|
|
|
|