Trees | Indices | Help |
|
---|
|
1 #-*- coding: utf8 -* 2 # 3 # Max E. Kuznecov ~syhpoon <syhpoon@syhpoon.name> 2008 4 # 5 # This file is part of XYZCommander. 6 # XYZCommander is free software: you can redistribute it and/or modify 7 # it under the terms of the GNU Lesser Public License as published by 8 # the Free Software Foundation, either version 3 of the License, or 9 # (at your option) any later version. 10 # XYZCommander is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU Lesser Public License for more details. 14 # You should have received a copy of the GNU Lesser Public License 15 # along with XYZCommander. If not, see <http://www.gnu.org/licenses/>. 16 17 """ 18 Constants 19 """ 20 21 import sys 22 import os 23 24 # Project name 25 PROG = u"XYZCommander" 26 27 # Project homepage 28 HOMEPAGE = u"xyzcmd.syhpoon.name" 29 30 # User directory 31 USER_DIR = u".xyzcmd" 32 33 # System directory prefix 34 SYSTEM_PREFIX = os.getenv("XYZCMD_PREFIX", sys.prefix) 35 36 # System directory 37 SYSTEM_DIR = os.path.join(SYSTEM_PREFIX, "share/xyzcmd") 38 39 # Subdirectory with configuration files 40 CONF_DIR = u"conf" 41 42 # Plugins subdirectory 43 PLUGINS_DIR = u"plugins" 44 45 # Skins subdirectory 46 SKINS_DIR = u"skins" 47 48 # Locale subdirectory 49 LOCALE_DIR = u"locale" 50 51 # Main configuration file name 52 XYZ_CONF_FILE = u"main.xyz" 53 54 # Keybindings configuration file name 55 KEYS_CONF_FILE = u"keys.xyz" 56 57 # Plugins configuration file name 58 PLUGINS_CONF_FILE = u"plugins.xyz" 59 60 # Actions configuration file name 61 ACTIONS_CONF_FILE = u"actions.xyz" 62 63 # Aliases configuration file name 64 ALIASES_CONF_FILE = u"aliases.xyz" 65 66 # Internal commands configuration file name 67 ICMD_CONF_FILE = u"icmd.xyz" 68 69 # VFS configuration file name 70 VFS_CONF_FILE = u"vfs.xyz" 71 72 # Hooks configuration file name 73 HOOKS_CONF_FILE = u"hooks.xyz" 74 75 # Default fallback skin name 76 DEFAULT_SKIN = u"seablue" 77 78 # Default display driver. raw or curses 79 DEFAULT_DISPLAY_DRIVER = u"raw" 80
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 16 01:51:59 2010 | http://epydoc.sourceforge.net |