pretalx / pretalx-public-voting

Public community voting on talk proposals
Other
3 stars 5 forks source link

Installation via pip broken due to missing __init__.py #25

Closed LukasSchulz closed 1 year ago

LukasSchulz commented 1 year ago

I have struggled to install the updated version of the plugin using pip for a while now and found the problem today:

In the setup.py the packages to be installed are found using find_packages() from setuptools, which seems to be the preferred version of doing things, but returns an empty list, when there is no __inity__.py present in the module folder. Simply adding an empty file named __init__.py in the module folder resolved the issue for me. References: https://github.com/pretalx/pretalx-public-voting/blob/b908b61992b94b9c3312221431e399e9fd3e291d/setup.py#L35 https://stackoverflow.com/a/64404115

rixx commented 1 year ago

Added file, released v1.2.2