Package libxyz :: Module const
[hide private]
[frames] | no frames]

Source Code for Module libxyz.const

 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 = ".xyzcmd" 
32   
33  # System directory 
34  SYSTEM_DIR = os.path.join(sys.prefix, "share/xyzcmd") 
35   
36  # Subdirectory with configuration files 
37  CONF_DIR = u"conf" 
38   
39  # Plugins sudbirectory 
40  PLUGINS_DIR = u"plugins" 
41   
42  # Skins sudbirectory 
43  SKINS_DIR = u"skins" 
44   
45  # Main configuration file name 
46  XYZ_CONF_FILE = u"main.xyz" 
47   
48  # Keybindings configuration file name 
49  KEYS_CONF_FILE = u"keys.xyz" 
50   
51  # Plugins configuration file name 
52  PLUGINS_CONF_FILE = u"plugins.xyz" 
53   
54  # Actions configuration file name 
55  ACTIONS_CONF_FILE = u"actions.xyz" 
56   
57  # Aliases configuration file name 
58  ALIASES_CONF_FILE = u"aliases.xyz" 
59   
60  # Internal commands configuration file name 
61  ICMD_CONF_FILE = u"icmd.xyz" 
62   
63  # Default fallback skin name 
64  DEFAULT_SKIN = u"default" 
65