Comment 9 for bug 551433

su_v (suv-lp) wrote :

Inkscape 0.47+devel r9261 on OS X 10.5.8

PYTHONPATH now has the full path to the shared extensions directory prepended and extensions installed in '~/.config/inkscape/extensions' successfully import modules like 'inkex.py' without adding the path explicitly in the python script.

console message:
PYTHONPATH = /Volumes/blue/src/Inkscape/Inkscape-BZR/Inkscape.app/Contents/Resources/extensions:/Volumes/blue/src/Inkscape/Inkscape-BZR/Inkscape.app/Contents/Resources/python/site-packages/i386/2.5

I also tested some of the bundled extensions:
a) Some extensions call inkscape in a new process (e.g. restack.py uses 'inkscape --query-all …') - so far I haven't noticed other issues related to the changed working directory of the spawned python process.
b) Some extensions depend on accessing subdirectories in the shared extensions directory (e.g. Barcode, Alphabet soup, 3d Polyhedron …) - so far those that I tested seem to work as expected.

thx for following up on this issue!