Follow one of the following method to run scapex directly from the repository --- including changes from the working directory.
In both case, ensure that the following binaries are available in your PATH:
inkscapepython
This method use a Bash script located in bin, allowing to execute scapex directly without involving Python virtual environment.
You can test the script using:
./bin/scapex -hUpdate your PATH to include it:
export PATH="$(realpath bin):${PATH}"You are now able to run scapex:
scapex -hThis method use the Makefile to create a local virtual environment using venv under the repository root.
This will automatically install necessary Python packages inside the venv.
First, create the virtual environment:
make venvActivate it to update the PATH and PYTHONPATH variables:
source .venv-scapex/bin/activateYou are now able to run scapex:
scapex -h