Re: [pytest-dev] plugins/pytest-qt and cx_Freeze

2015-06-18 Thread Laura Creighton
cx_Freeze is buggy. I think you hit one. Laura ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] plugins/pytest-qt and cx_Freeze

2015-06-18 Thread Bruno Oliveira
Nice, thanks for sharing! :) Cheers, On Thu, Jun 18, 2015 at 12:21 PM Florian Bruhin wrote: > > Another solution would be to explicitly pass the plugin in the command > line > > using `-p pytestq.plugin`. > > Sorry for the double-post - I found an (IMHO) slightly better solution > :) > > As sai

Re: [pytest-dev] plugins/pytest-qt and cx_Freeze

2015-06-18 Thread Florian Bruhin
> Another solution would be to explicitly pass the plugin in the command line > using `-p pytestq.plugin`. Sorry for the double-post - I found an (IMHO) slightly better solution :) As said before I'm using a separate test executable, and I noticed pytest.main takes a plugins-argument with a list

Re: [pytest-dev] plugins/pytest-qt and cx_Freeze

2015-06-18 Thread Florian Bruhin
Hey, * Bruno Oliveira [2015-06-18 13:50:59 +]: > The problem is that the mechanism for plugin discovered used by pytest > (setupttools entry points) doesn't work with frozen executables so pytest > can't find any plugins. Hm, I see. I'm not really aware how setuptools entry points are implem

Re: [pytest-dev] plugins/pytest-qt and cx_Freeze

2015-06-18 Thread Bruno Oliveira
Hi Florian, I have this problem as well and was trying to find a better solution before bringing up this issue, but let me share my solution so far. The problem is that the mechanism for plugin discovered used by pytest (setupttools entry points) doesn't work with frozen executables so pytest can