Hi all, I managed to get it to work by explicitly importing pytest and py modules explicitly. The version that worked for me is in the same gist link I sent earlier (https://gist.github.com/nicoddemus/5458ca3fc5241cedaff3), which I made public so others that run into the same problem can find it.
Also created a PR that eliminates py.std use from pytest, although I could get the frozen executable to work without needing that after all. Just went ahead with the PR because Holger showed interest on it. :) Cheers, On Thu, Jul 24, 2014 at 12:24 PM, Bruno Oliveira <nicodde...@gmail.com> wrote: > Hi Holger, > > On Thu, Jul 24, 2014 at 11:36 AM, holger krekel <hol...@merlinux.eu> > wrote: > >> i think there are two ways to solve this: >> >> - find out how to make py.std work with cx_freeze >> (haven't looked at that myself yet) >> > > I'm investigating this and will share any findings. > > - eliminate use of py.std in pytest and maybe py. >> Personally, I am fine with a PR on that, probably >> quite straightforward to do. >> > > Didn't know that could be an option; I will take a look into it, shouldn't > be too complicated. > > Thanks for the answer! > > Bruno >
_______________________________________________ Pytest-dev mailing list Pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev