Add default path for inkex.py on macOS

pull/435/head
Kate Murphy 2019-04-15 23:33:34 -04:00
rodzic d9d659a2e8
commit 86aedb7903
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: CD2AA5C330D22860
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -11,6 +11,8 @@ sys.path.append(parent_dir)
# try find add inkex.py et al. as well
sys.path.append(os.path.join(parent_dir, "inkscape", "share", "extensions"))
sys.path.append(os.path.join("/usr/share/inkscape/extensions"))
# default inkex.py location on macOS
sys.path.append("/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/")
from lib.inx import generate_inx_files