kopia lustrzana https://github.com/inkstitch/inkstitch
18 wiersze
434 B
Python
Executable File
18 wiersze
434 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import sys
|
|
import os
|
|
from os.path import dirname
|
|
|
|
# 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"))
|
|
|
|
from lib.inx import generate_inx_files
|
|
|
|
generate_inx_files()
|