On 21/10/09 02:33, Chris Mohler wrote:
But a semi-related follow-up: where should user extensions go in OS X? Does a ~/.inkscape get created?
I keep them in '~/.config/inkscape/extensions' (0.47pre). There was a bug that the subdirectories in '~/.config/inkscape' were not automatically created, but this was recently fixed in rev.22349. [Bug #437938] “User resource directories no longer created if they do not exist” https://bugs.launchpad.net/inkscape/+bug/437938
If he is using Inkscape 0.46, put them into '~/.inkscape/extensions'. But AFAIK then your own extension script needs to append the path to the bundled extensions so that modules like inkex.py are found... (this is not necessary with Inkscape 0.47).
# only needed if you don't put the script into the installation directory import sys sys.path.append('/usr/share/inkscape/extensions') # OS X sys.path.append('/Applications/Inkscape.app/Contents/Resources/extensions') # win32 ??? #sys.path.append('C:\Program Files\Inkscape\share\extensions')
~suv