Hey,

* Bruno Oliveira <nicodde...@gmail.com> [2015-06-18 13:50:59 +0000]:
> 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
implemented, and if support for that could be added to cx_Freeze.

> The workaround I currently use is to add this to my `conftest.py`:
> 
> [...]
> 
> Another solution would be to explicitly pass the plugin in the command line
> using `-p pytestq.plugin`.

Hmm, I see. I guess that'd work with the 3 plugins I need for now, but
it's definitely less than ideal.

> I still would like for this to work out of the box somehow though, so if
> anyone has any suggestions/ideas they are welcome.

I have no idea where to start - but if I can help in any way, please
let me know!

Florian

-- 
http://www.the-compiler.org | m...@the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/

Attachment: pgpo0nF5QRM7s.pgp
Description: PGP signature

_______________________________________________
pytest-dev mailing list
pytest-dev@python.org
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to