extensions in ~/.config/inkscape/extensions don't find inkex
Steps to reproduce:
- copy helloworld.inx and helloworld.py to
~/.config/inkscape/extensions
- open Inkscape
- Extensions > Hello World
What happened?
ModuleNotFoundError: No module named 'inkex'
What should have happened?
Import of inkex
should succeed.
Inkscape Version and Operating System:
- Inkscape 1.0alpha (9cedb1b0, 2019-02-08, custom)
- Linux 4.20.6-arch1-1-ARCH #1 (closed) SMP PREEMPT Thu Jan 31 08:22:01 UTC 2019 x86_64 GNU/Linux
Regression details
Commit 408cb49b removed set_extensions_env()
which previously added the extensions path to $PYTHONPATH
.