2018-08-20 02:14:10 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import os
|
|
|
|
from os.path import dirname
|
|
|
|
|
2018-08-20 02:21:28 +00:00
|
|
|
# add inkstitch libs to python path
|
|
|
|
parent_dir = os.path.join(dirname(dirname(__file__)))
|
|
|
|
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"))
|
|
|
|
|
2018-08-20 02:14:10 +00:00
|
|
|
from lib.inx import generate_inx_files
|
|
|
|
|
|
|
|
generate_inx_files()
|