I run into the problem while debugging one plugin. Take pretalx-downstream [1] as an example. The plugin works, because there is some internal import magic. Though import pretalx_downstream fails. And so would any other absolut imports. I think this can cause some unnecessary confusion.
PS: In the pretix plugin cookiecutter [2] this is a non issue, because the apps.py logic is in the __init__.py - which I am not saying you have to follow :)
I run into the problem while debugging one plugin. Take pretalx-downstream [1] as an example. The plugin works, because there is some internal import magic. Though
import pretalx_downstream
fails. And so would any other absolut imports. I think this can cause some unnecessary confusion.[1] https://pypi.org/project/pretalx-downstream/
PS: In the pretix plugin cookiecutter [2] this is a non issue, because the
apps.py
logic is in the__init__.py
- which I am not saying you have to follow :)[2] https://github.com/pretix/pretix-plugin-cookiecutter/