I'm attempting to use Py2Exe to build a Windows executable from ReviewBoard's postreview.py, so my users don't need to install Python in order to post review requests.
I'm running up against a problem in which the compiled version can't find any registered SCM clients. I've tracked this down to the following line in the code:
for ep in pkg_resources.iter_entry_points(group='rbtools_scm_clients'):
These entry points are listed in the RBTools egg in EGG-INFO\entry_points.txt. In the compiled exe, the iter_entry_points() function returns an empty list.
Is there any way through Py2Exe to make the compiled exe aware of these entry points? Or am I stuck customizing postreview (essentially hard-coding the entry points) to get this to work?
Thanks for any tips!