home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 May / maximum-cd-2010-05.iso / DiscContents / boxee-0.9.20.10711.exe / system / python / Lib / plat-mac / bgenlocations.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  1010 b   |  35 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4. import sys
  5. import os
  6. Error = 'bgenlocations.Error'
  7. BGENDIR = '/Users/jack/src/python/Tools/bgen/bgen'
  8. INCLUDEDIR = '/Users/jack/src/Universal/Interfaces/CIncludes'
  9. TOOLBOXDIR = '/Users/jack/src/python/Lib/plat-mac/Carbon'
  10. CREATOR = 'CWIE'
  11.  
  12. try:
  13.     from bgenlocationscustomize import *
  14. except ImportError:
  15.     pass
  16.  
  17. if not os.path.exists(BGENDIR):
  18.     raise Error, 'Please fix bgenlocations.py, BGENDIR does not exist: %s' % BGENDIR
  19.  
  20. if not os.path.exists(INCLUDEDIR):
  21.     raise Error, 'Please fix bgenlocations.py, INCLUDEDIR does not exist: %s' % INCLUDEDIR
  22.  
  23. if not os.path.exists(TOOLBOXDIR):
  24.     raise Error, 'Please fix bgenlocations.py, TOOLBOXDIR does not exist: %s' % TOOLBOXDIR
  25.  
  26. if BGENDIR[-1] != os.sep:
  27.     BGENDIR = BGENDIR + os.sep
  28.  
  29. if INCLUDEDIR[-1] != os.sep:
  30.     INCLUDEDIR = INCLUDEDIR + os.sep
  31.  
  32. if TOOLBOXDIR[-1] != os.sep:
  33.     TOOLBOXDIR = TOOLBOXDIR + os.sep
  34.  
  35.