diff --git a/makepanda/makewheel.py b/makepanda/makewheel.py index f8d9b56ef9..1ba176116c 100644 --- a/makepanda/makewheel.py +++ b/makepanda/makewheel.py @@ -688,10 +688,15 @@ __version__ = '{0}' # Put the .exe files inside the panda3d-tools directory. whl.write_file('panda3d_tools/' + file, source_path) + if basename.endswith('_bin'): + # These tools won't be invoked by the user directly. + continue + # Tell pip to create a wrapper script. 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_apps = direct.dist.commands:build_apps\n' entry_points += 'bdist_apps = direct.dist.commands:bdist_apps\n'