8 global baseDirectory, mainDirectory, pluginDirectory, docDirectory
10 logging.debug(__name__ +
': baseDirectory - '+baseDirectory)
11 mainDirectory = os.path.join(baseDirectory,
"Vispa/Main")
12 logging.debug(__name__ +
': mainDirectory - '+mainDirectory)
13 pluginDirectory = os.path.join(baseDirectory,
"Vispa/Plugins")
14 logging.debug(__name__ +
': pluginDirectory - '+pluginDirectory)
15 docDirectory = os.path.join(baseDirectory,
"doc/pxldoc")
16 logging.debug(__name__ +
': docDirectory - '+docDirectory)
19 global homeDirectory, preferencesDirectory, iniFileName, logDirectory
21 logging.debug(__name__ +
': homeDirectory - '+homeDirectory)
22 preferencesDirectory = os.path.abspath(os.path.join(homeDirectory,
".vispa"))
23 logging.debug(__name__ +
': preferencesDirectory - '+preferencesDirectory)
24 iniFileName = os.path.abspath(os.path.join(preferencesDirectory,
"vispa.ini"))
25 logging.debug(__name__ +
': iniFileName - '+iniFileName)
26 logDirectory = os.path.abspath(preferencesDirectory)
27 logging.debug(__name__ +
': logDirectory - '+logDirectory)
37 applicationName=os.path.splitext(os.path.basename(sys.argv[0]))[0]
def setHomeDirectory(dir)
def setBaseDirectory(dir)