Commit 3af54b31 authored by Paul Bonser's avatar Paul Bonser

Point to proper share directory for egg-based install

parent ead83ab8
......@@ -30,6 +30,8 @@ DATA_DIR_ENVIRON_KEY = "PYCAM_DATA_DIR"
FONT_DIR_ENVIRON_KEY = "PYCAM_FONT_DIR"
DATA_BASE_DIRS = [os.path.realpath(os.path.join(os.path.dirname(__file__),
os.pardir, os.pardir, "share")),
os.path.realpath(os.path.join(os.path.dirname(__file__),
os.pardir, os.pardir, "share", "pycam")),
os.path.join(sys.prefix, "local", "share", "pycam"),
os.path.join(sys.prefix, "share", "pycam")]
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