~ubuntu-branches/ubuntu/lucid/thuban/lucid

« back to all changes in this revision

Viewing changes to thuban.py

  • Committer: Bazaar Package Importer
  • Author(s): Silke Reimer
  • Date: 2004-01-28 12:47:34 UTC
  • Revision ID: james.westby@ubuntu.com-20040128124734-6xotwcqilok6ngut
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /usr/bin/python
 
2
 
 
3
# Copyright (c) 2001 by Intevation GmbH
 
4
# Authors:
 
5
# Bernhard Herzog <bh@intevation.de>
 
6
#
 
7
# This program is free software under the GPL (>=v2)
 
8
# Read the file COPYING coming with Thuban for details.
 
9
 
 
10
import sys, os
 
11
import Thuban
 
12
 
 
13
# Put the Lib dir into the path. The Lib dir contains some extra non
 
14
# really Thuban specific Python modules
 
15
thubandir = os.path.join(Thuban.__path__[0], '..')
 
16
dir = os.path.join(thubandir, "Lib")
 
17
if os.path.isdir(dir):
 
18
    sys.path.insert(0, dir)
 
19
 
 
20
import Thuban.UI.main
 
21
    
 
22
# Start Thuban
 
23
Thuban.UI.main.main()
 
24
 
 
25