Commit ce95f914 authored by sumpfralle's avatar sumpfralle

scan for data files in /usr/local/share/pycam


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@915 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 8d9f4bce
...@@ -63,6 +63,7 @@ DATA_DIR_ENVIRON_KEY = "PYCAM_DATA_DIR" ...@@ -63,6 +63,7 @@ DATA_DIR_ENVIRON_KEY = "PYCAM_DATA_DIR"
FONT_DIR_ENVIRON_KEY = "PYCAM_FONT_DIR" FONT_DIR_ENVIRON_KEY = "PYCAM_FONT_DIR"
DATA_BASE_DIRS = [os.path.realpath(os.path.join(os.path.dirname(__file__), DATA_BASE_DIRS = [os.path.realpath(os.path.join(os.path.dirname(__file__),
os.pardir, os.pardir, os.pardir, "share")), os.pardir, os.pardir, os.pardir, "share")),
os.path.join(sys.prefix, "local", "share", "pycam"),
os.path.join(sys.prefix, "share", "pycam")] os.path.join(sys.prefix, "share", "pycam")]
UI_SUBDIR = "ui" UI_SUBDIR = "ui"
FONTS_SUBDIR = "fonts" FONTS_SUBDIR = "fonts"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment