RealOrangeOne / django-plausible

Django module to provide easy Plausible integration, with Wagtail support
https://pypi.org/project/django-plausible/
BSD 3-Clause "New" or "Revised" License
16 stars 2 forks source link

Wagtail integration missing #1

Closed mheppner closed 3 years ago

mheppner commented 3 years ago

After installing this package and adding plausible.contrib.wagtail to INSTALLED_APPS, I'm getting an error: ModuleNotFoundError: No module named 'plausible.contrib'.

In a clean virtual environment, this is what the package from pypi looks like:

python3.9 -m venv venv
source venv/bin/activate
pip install django-plausible

cd venv/lib/python3.9/site-packages
find ./plausible -print
./plausible
./plausible/templatetags
./plausible/templatetags/plausible.py
./plausible/templatetags/__init__.py
./plausible/templatetags/__pycache__
./plausible/templatetags/__pycache__/__init__.cpython-39.pyc
./plausible/templatetags/__pycache__/plausible.cpython-39.pyc
./plausible/__init__.py
./plausible/__pycache__
./plausible/__pycache__/__init__.cpython-39.pyc
./plausible/py.typed

The contrib/wagtail folder is missing. Same thing if you download the .tar.gz from pypi. I also tried with pip install django-plausible[wagtail] which results in the same package contents, but with wagtail installed too.