Mercurial > treepkg
comparison bin/treepkgcmd.py @ 78:9a602d8eaa60
initial revision of the subversion repository
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 24 Apr 2012 17:13:43 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
77:f0aa5a8af056 | 78:9a602d8eaa60 |
---|---|
1 # Copyright (C) 2007 by Intevation GmbH | |
2 # Authors: | |
3 # Bernhard Herzog <bh@intevation.de> | |
4 # | |
5 # This program is free software under the GPL (>=v2) | |
6 # Read the file COPYING coming with the software for details. | |
7 | |
8 """Initializes the Python interpreter for the treepkg frontends""" | |
9 | |
10 import sys | |
11 import os | |
12 | |
13 # make sure we can import treepkg. The topdir variable may be | |
14 # referenced by users of this module. | |
15 topdir=os.path.join(os.path.dirname(__file__), os.pardir) | |
16 sys.path.insert(0, topdir) |