Mercurial > libervia-backend
comparison frontends/src/wix/constants.py @ 227:533507bb4e32
distutils wix installation
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 05 Jan 2011 18:46:26 +0100 |
parents | 86d249b6d9b7 |
children | 0806a65a5fa9 |
comparison
equal
deleted
inserted
replaced
226:d8bb72f00eec | 227:533507bb4e32 |
---|---|
1 import sys | 1 import sys,os.path |
2 import __builtin__ | 2 import __builtin__ |
3 import sat_frontends.wix | |
4 | |
5 wix_root = os.path.dirname(sat_frontends.wix.__file__) | |
3 | 6 |
4 __builtin__.__dict__['APP_NAME'] = "Wix" | 7 __builtin__.__dict__['APP_NAME'] = "Wix" |
5 __builtin__.__dict__['LICENCE_PATH'] = "../../COPYING" | 8 __builtin__.__dict__['LICENCE_PATH'] = os.path.join(wix_root,"COPYING") |
6 __builtin__.__dict__['IMAGE_DIR'] = sys.path[0]+'/images' | 9 __builtin__.__dict__['IMAGE_DIR'] = os.path.join(wix_root,'images') |
7 | 10 |
8 __builtin__.__dict__['msgOFFLINE'] = _("offline") | 11 __builtin__.__dict__['msgOFFLINE'] = _("offline") |
9 __builtin__.__dict__['msgONLINE'] = _("online") | 12 __builtin__.__dict__['msgONLINE'] = _("online") |
10 __builtin__.__dict__['const_DEFAULT_GROUP'] = "Unclassed" | 13 __builtin__.__dict__['const_DEFAULT_GROUP'] = "Unclassed" |
11 __builtin__.__dict__['const_STATUS'] = [("", _("Online"), None), | 14 __builtin__.__dict__['const_STATUS'] = [("", _("Online"), None), |