Manual Setup
A manual setup will allow you to edit the code while running the extension.
-
Clone the extension source and update submodule pyembroidery
git clone https://github.com/inkstitch/inkstitch cd inkstitch git submodule init git submodule update
-
Python Dependencies
A few python modules are needed. In some cases this extension uses features that aren’t available in the versions of the modules pre-packaged in distributions, so I recommend installing them directly with pip:
pip install -r requirements.txt
Info: You might need to remove wxPython and install a platform specific package (e.g. Debian uses
python-wxgtk3.0
). -
Symbolically link into the Inkscape extensions directory
cd ~/.config/inkscape/extensions ln -s /path/to/inkstitch for i in inkstitch/inx/inkstitch_*.inx; do ln -s $i; done ln -s inkstitch/inkstitch.py
-
Run Inkscape.
Info: Changes to the Python code take effect the next time the extension is run. Changes to the extension description files (*.inx) take effect the next time Inkscape is restarted.