/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/version.py

  • Committer: Aaron Bentley
  • Date: 2009-12-07 21:46:28 UTC
  • mfrom: (4871 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4873.
  • Revision ID: aaron@aaronbentley.com-20091207214628-yifwgux0fn4x3bo4
Merge bzr.dev into merge-i-lock.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    # show path to python interpreter
51
51
    # (bzr.exe use python interpreter from pythonXY.dll
52
52
    # but sys.executable point to bzr.exe itself)
53
 
    if getattr(sys, 'frozen', None) is not None:  # check for bzr.exe
54
 
        # python executable
 
53
    # however, sys.frozen exists if running from bzr.exe
 
54
    # see http://www.py2exe.org/index.cgi/Py2exeEnvironment
 
55
    if getattr(sys, 'frozen', None) is None: # if not bzr.exe
55
56
        to_file.write(sys.executable + ' ')
56
57
    else:
57
58
        # pythonXY.dll