/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Vincent Ladeuil
  • Date: 2009-12-03 09:33:17 UTC
  • mto: This revision was merged to the branch mainline in revision 671.
  • Revision ID: v.ladeuil+lp@free.fr-20091203093317-x3uqyvsa2ke4n0ck
Clarify intent and more cleanup from review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
import sys
39
39
 
40
40
if getattr(sys, "frozen", None) is not None: # we run bzr.exe
 
41
 
 
42
    # FIXME: Unless a better packaging solution is found, the following
 
43
    # provides a workaround for https://bugs.launchpad.net/bzr/+bug/388790 Also
 
44
    # see https://code.edge.launchpad.net/~vila/bzr-gtk/388790-windows-setup
 
45
    # for more details about while it's needed.
 
46
 
41
47
    # NOTE: _lib must be ahead of bzrlib or sax.saxutils (in olive) fails
42
48
    here = os.path.dirname(__file__)
43
49
    sys.path.insert(0, os.path.join(here, '_lib'))
44
50
    sys.path.append(os.path.join(here, '_lib/gtk-2.0'))
45
 
    # Do we really need the following (since we are executing that code, we
46
 
    # should already be on the path at the appropriate place, I'm concerned
47
 
    # about masking import bugs by adding that)? Can someone test and report?
48
 
    #sys.path.append(here)
49
51
 
50
52
 
51
53
import bzrlib