|
@@ -688,10 +688,15 @@ __version__ = '{0}'
|
|
|
# Put the .exe files inside the panda3d-tools directory.
|
|
# Put the .exe files inside the panda3d-tools directory.
|
|
|
whl.write_file('panda3d_tools/' + file, source_path)
|
|
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.
|
|
# Tell pip to create a wrapper script.
|
|
|
funcname = basename.replace('-', '_')
|
|
funcname = basename.replace('-', '_')
|
|
|
entry_points += '{0} = panda3d_tools:{1}\n'.format(basename, funcname)
|
|
entry_points += '{0} = panda3d_tools:{1}\n'.format(basename, funcname)
|
|
|
tools_init += '{0} = lambda: _exec_tool({1!r})\n'.format(funcname, file)
|
|
tools_init += '{0} = lambda: _exec_tool({1!r})\n'.format(funcname, file)
|
|
|
|
|
+
|
|
|
entry_points += '[distutils.commands]\n'
|
|
entry_points += '[distutils.commands]\n'
|
|
|
entry_points += 'build_apps = direct.dist.commands:build_apps\n'
|
|
entry_points += 'build_apps = direct.dist.commands:build_apps\n'
|
|
|
entry_points += 'bdist_apps = direct.dist.commands:bdist_apps\n'
|
|
entry_points += 'bdist_apps = direct.dist.commands:bdist_apps\n'
|