#!/usr/bin/env python
# This file is automatically generated

SCICRAFT_DATA_PATH = "/usr/share/scicraft"
SCICRAFT_LIBRARY_PATH = "/usr/lib/scicraft"


import sys
import os
if SCICRAFT_LIBRARY_PATH and not SCICRAFT_LIBRARY_PATH in sys.path:
    sys.path.append(SCICRAFT_LIBRARY_PATH)
import scicraft
from Library.Util.Config import Config

Config.readonly['nodeconfdir'] = os.path.join(SCICRAFT_DATA_PATH, "nodeconf")
Config.readonly['pixmapdir'] = os.path.join(SCICRAFT_DATA_PATH, "icons", "nodes")
Config.readonly['iconsdir'] = os.path.join(SCICRAFT_DATA_PATH, "icons", "pixmaps")
Config.readonly['cursorsdir'] = os.path.join(SCICRAFT_DATA_PATH, "icons", "cursors")
Config.readonly['datadir'] = os.path.join(SCICRAFT_DATA_PATH, "data")
Config.readonly['singlefragmentdir'] = os.path.join(SCICRAFT_DATA_PATH, "data", "fragments", "single")
Config.readonly['doublefragmentdir'] = os.path.join(SCICRAFT_DATA_PATH, "data", "fragments", "double")
Config.readonly['htmldocpath'] = os.path.join(SCICRAFT_DATA_PATH, "doc", "manual", "html")
Config.readonly['systemfunctiondir'] = os.path.join(SCICRAFT_DATA_PATH, "toolboxes")
Config.readonly['customplotdir'] = os.path.join(SCICRAFT_DATA_PATH, "customplots")
Config.readonly['uidir'] = os.path.join(SCICRAFT_DATA_PATH, "ui")

if __name__=="__main__":
    scicraft.main()
