Out of curiosity, why not use the RBTools installer we already provide? The single .exe route will have limitations. I've done a lot of py2exe/pyinstaller work in the past for other projects, and it's not a route I'd recommend if you can avoid it, at least for more complex projects.
Christian -- Christian Hammond President/CEO of Beanbag <https://www.beanbaginc.com/> Makers of Review Board <https://www.reviewboard.org/> On Thu, Sep 22, 2016 at 11:59 AM, Daniel Kuecker <[email protected]> wrote: > Has anyone been successful building RBTools 0.7.6 into a single-file exe > for distribution on windows? > > I'm trying to wrap rbt post functionality into an exe file and both py2exe > and pyinstaller built exes are having issues when pkg_resources tries to > resolve the rbtools package. > > The exe builds fine, but when I run it, I get a > "pkg_resources.distributionnotfound: > the 'rbtools' distribution was not found and is required by the > application" error. > > I've tried listing rbtools as hidden imports and importing an egg > (although the egg import was never successful), to no avail. > > Thanks in advance! > > --Daniel > > > > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
