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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Thu Aug 26 15:09:03 2004 UTC (19 years, 10 months ago) by joko
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +5 -0 lines
File MIME type: text/x-python
added new constants PYXMLVERSION and OSNAME

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 import xml
27 PYXMLVERSION = xml.__version__
28
29 BROWSERCOMMAND = "Browser startup command"
30 BROWSERDEFAULT = "<<OPEN_WITH_DEFAULT %URL>>"
31
32 OSNAME = os.name

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