/[cvs]/nfo/projects/netfraggle/bin/fraggleConstants.py
ViewVC logotype

Annotation of /nfo/projects/netfraggle/bin/fraggleConstants.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Wed Aug 25 22:45:52 2004 UTC (19 years, 10 months ago) by joko
Branch: MAIN
File MIME type: text/x-python
initial commit

1 joko 1.1 #!/usr/bin/env python
2    
3     # structure and some code ripped from Pears: http://project5.freezope.org/pears/
4    
5     NETFRAGGLEVERSION = "0.01"
6    
7     # The "build" sets DEBUGMODE to False
8     # set to True in order to get extra debugging messages
9     DEBUGMODE = False
10    
11     from wxPython import wx
12     WXPYTHONVERSION = wx.__version__
13    
14     if WXPYTHONVERSION.endswith('u'):
15     DISPCODE = None # no encoding for Unicode-capable wxPython?
16     else:
17     DISPCODE = 'iso8859-1' # encoding to use if wxPython is not Unicode?
18    
19     # store location from where activated
20     import sys, os
21     APPLOCATION = os.path.split(sys.argv[0])[0] or os.getcwd() # *MUST* be the directory where everything, including About data and the likes are located
22     PYTHONVERSION = sys.version.split()[0]
23     import time
24     STARTTIME = time.time()
25    
26     BROWSERCOMMAND = "Browser startup command"
27     BROWSERDEFAULT = "<<OPEN_WITH_DEFAULT %URL>>"

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed