7 |
# Read the file COPYING coming with Thuban for details. |
# Read the file COPYING coming with Thuban for details. |
8 |
|
|
9 |
""" |
""" |
10 |
The main entry point for the Thuban GUI. |
The main entry point for the Thuban GUI. |
11 |
""" |
""" |
12 |
|
|
13 |
__version__ = "$Revision$" |
__version__ = "$Revision$" |
15 |
import sys |
import sys |
16 |
import getopt |
import getopt |
17 |
|
|
18 |
from application import ThubanApplication |
import application |
19 |
import Thuban.version |
import Thuban.version |
20 |
|
|
21 |
|
|
28 |
"""Instantiate the application object and run the application""" |
"""Instantiate the application object and run the application""" |
29 |
|
|
30 |
if verify_versions(): |
if verify_versions(): |
31 |
app = ThubanApplication(0) |
app = application.ThubanApplication(0) |
32 |
opts, args = getopt.getopt(sys.argv[1:], '', |
opts, args = getopt.getopt(sys.argv[1:], '', |
33 |
['enable-attribute-editing']) |
['enable-attribute-editing']) |
34 |
for optchar, value in opts: |
for optchar, value in opts: |
53 |
Print a message containing any libraries which are wrong. |
Print a message containing any libraries which are wrong. |
54 |
Return True if everything is OK, otherwise False. |
Return True if everything is OK, otherwise False. |
55 |
""" |
""" |
56 |
|
|
57 |
errors = Thuban.version.verify_versions() |
errors = Thuban.version.verify_versions() |
58 |
|
|
59 |
if len(errors) > 0: |
if len(errors) > 0: |