6.138. sibl_gui.globals.constants

constants.py

Platform:
Windows, Linux, Mac Os X.
Description:
Defines sIBL_GUI package default constants through the Constants class.

Others:

6.138.1. Classes

class sibl_gui.globals.constants.Constants[source]

Defines sIBL_GUI package default constants.

applicationName = u'sIBL_GUI'
Parameters:applicationName (unicode) – Package Application name.
majorVersion = u'4'
Parameters:majorVersion (unicode) – Package major version.
minorVersion = u'0'
Parameters:minorVersion (unicode) – Package minor version.
changeVersion = u'8'
Parameters:changeVersion (unicode) – Package change version.
version = u'4.0.8'
Parameters:version (unicode) – Package version.
logger = u'sIBL_GUI_Logger'
Parameters:logger (unicode) – Package logger name.
defaultCodec = 'utf-8'
Parameters:defaultCodec (unicode) – Default codec.
codecError = 'ignore'
Parameters:codecError (unicode) – Default codec error behavior.
applicationDirectory = u'sIBL_GUI/4.0'
Parameters:applicationDirectory (unicode) – Package Application directory.
providerDirectory = u'HDRLabs'
Parameters:providerDirectory (unicode) – Package provider directory.
databaseDirectory = u'database'
Parameters:databaseDirectory (unicode) – Application Database directory.
patchesDirectory = u'patches'
Parameters:patchesDirectory (unicode) – Application patches directory.
settingsDirectory = u'settings'
Parameters:settingsDirectory (unicode) – Application settings directory.
userComponentsDirectory = u'components'
Parameters:userComponentsDirectory (unicode) – Application user components directory.
loggingDirectory = u'logging'
Parameters:loggingDirectory (unicode) – Application logging directory.
templatesDirectory = u'templates'
Parameters:templatesDirectory (unicode) – Application templates directory.
ioDirectory = u'io'
Parameters:ioDirectory (unicode) – Application io directory.
preferencesDirectories = (u'database', u'patches', u'settings', u'components', u'logging', u'templates', u'io')
Parameters:preferencesDirectories (tuple) – Application preferences directories.
coreComponentsDirectory = u'components/core'
Parameters:coreComponentsDirectory (unicode) – Application core components directory.
addonsComponentsDirectory = u'components/addons'
Parameters:addonsComponentsDirectory (unicode) – Application addons components directory.
resourcesDirectory = u'resources'
Parameters:resourcesDirectory (unicode) – Application resources directory.
patchesFile = u'sIBL_GUI_Patches.rc'
Parameters:patchesFile (unicode) – Application settings file.
databaseFile = u'sIBL_GUI_Database.sqlite'
Parameters:databaseFile (unicode) – Application Database file.
settingsFile = u'sIBL_GUI_Settings.rc'
Parameters:settingsFile (unicode) – Application settings file.
loggingFile = u'sIBL_GUI_Logging_{0}.log'
Parameters:loggingFile (unicode) – Application logging file.
databaseMigrationsFilesExtension = u'py'
Parameters:databaseMigrationsFilesExtension (unicode) – Application Database migrations files extension.
librariesDirectory = u'libraries'
Parameters:librariesDirectory (unicode) – Application libraries directory.
freeImageLibrary = u'libraries/freeImage/resources/libfreeimage.dylib'

FreeImage library path: ‘freeImage/resources/FreeImage.dll on Windows, freeImage/resources/libfreeimage.dylib on Darwin, freeImage/resources/libfreeimage.so on Linux’ ( String )