File tree Expand file tree Collapse file tree 17 files changed +58
-58
lines changed
Expand file tree Collapse file tree 17 files changed +58
-58
lines changed Original file line number Diff line number Diff line change 99if os .path .exists (libcef_so ):
1010 # Import local module
1111 ctypes .CDLL (libcef_so , ctypes .RTLD_GLOBAL )
12- if sys . hexversion >= 0x02070000 and sys .hexversion < 0x03000000 :
12+ if 0x02070000 <= sys .hexversion < 0x03000000 :
1313 import cefpython_py27 as cefpython
1414 else :
1515 raise Exception ("Unsupported python version: %s" % sys .version )
Original file line number Diff line number Diff line change 99if os .path .exists (libcef_so ):
1010 # Import local module
1111 ctypes .CDLL (libcef_so , ctypes .RTLD_GLOBAL )
12- if sys . hexversion >= 0x02070000 and sys .hexversion < 0x03000000 :
12+ if 0x02070000 <= sys .hexversion < 0x03000000 :
1313 import cefpython_py27 as cefpython
1414 else :
1515 raise Exception ("Unsupported python version: %s" % sys .version )
Original file line number Diff line number Diff line change 1414
1515import sys
1616try :
17- # Import local PYD file (portable zip) .
18- if sys . hexversion >= 0x02070000 and sys .hexversion < 0x03000000 :
17+ # Import local module .
18+ if 0x02070000 <= sys .hexversion < 0x03000000 :
1919 import cefpython_py27 as cefpython
20- elif sys . hexversion >= 0x03000000 and sys .hexversion < 0x04000000 :
20+ elif 0x03000000 <= sys .hexversion < 0x04000000 :
2121 import cefpython_py32 as cefpython
2222 else :
2323 raise Exception ("Unsupported python version: %s" % sys .version )
2424except ImportError :
25- # Import from package (installer) .
25+ # Import from package.
2626 from cefpython1 import cefpython
2727
2828import cefwindow
Original file line number Diff line number Diff line change 77
88import sys
99try :
10- # Import local PYD file (portable zip) .
11- if sys . hexversion >= 0x02070000 and sys .hexversion < 0x03000000 :
10+ # Import local module .
11+ if 0x02070000 <= sys .hexversion < 0x03000000 :
1212 import cefpython_py27 as cefpython
13- elif sys . hexversion >= 0x03000000 and sys .hexversion < 0x04000000 :
13+ elif 0x03000000 <= sys .hexversion < 0x04000000 :
1414 import cefpython_py32 as cefpython
1515 else :
1616 raise Exception ("Unsupported python version: %s" % sys .version )
1717except ImportError :
18- # Import from package (installer) .
18+ # Import from package.
1919 from cefpython1 import cefpython
2020
2121import cefwindow
Original file line number Diff line number Diff line change 99
1010import sys
1111try :
12- # Import local PYD file (portable zip) .
13- if sys . hexversion >= 0x02070000 and sys .hexversion < 0x03000000 :
12+ # Import local module .
13+ if 0x02070000 <= sys .hexversion < 0x03000000 :
1414 import cefpython_py27 as cefpython
15- elif sys . hexversion >= 0x03000000 and sys .hexversion < 0x04000000 :
15+ elif 0x03000000 <= sys .hexversion < 0x04000000 :
1616 import cefpython_py32 as cefpython
1717 else :
1818 raise Exception ("Unsupported python version: %s" % sys .version )
1919except ImportError :
20- # Import from package (installer) .
20+ # Import from package.
2121 from cefpython1 import cefpython
2222
2323import wx
Original file line number Diff line number Diff line change 2424
2525import sys
2626try :
27- # Import local PYD file (portable zip) .
28- if sys . hexversion >= 0x02070000 and sys .hexversion < 0x03000000 :
27+ # Import local module .
28+ if 0x02070000 <= sys .hexversion < 0x03000000 :
2929 import cefpython_py27 as cefpython
30- elif sys . hexversion >= 0x03000000 and sys .hexversion < 0x04000000 :
30+ elif 0x03000000 <= sys .hexversion < 0x04000000 :
3131 import cefpython_py32 as cefpython
3232 else :
3333 raise Exception ("Unsupported python version: %s" % sys .version )
3434except ImportError :
35- # Import from package (installer) .
35+ # Import from package.
3636 from cefpython1 import cefpython
3737
3838from pandac .PandaModules import loadPrcFileData
Original file line number Diff line number Diff line change 66
77import sys
88try :
9- # Import local PYD file (portable zip) .
10- if sys . hexversion >= 0x02070000 and sys .hexversion < 0x03000000 :
9+ # Import local module .
10+ if 0x02070000 <= sys .hexversion < 0x03000000 :
1111 import cefpython_py27 as cefpython
12- elif sys . hexversion >= 0x03000000 and sys .hexversion < 0x04000000 :
12+ elif 0x03000000 <= sys .hexversion < 0x04000000 :
1313 import cefpython_py32 as cefpython
1414 else :
1515 raise Exception ("Unsupported python version: %s" % sys .version )
1616except ImportError :
17- # Import from package (installer) .
17+ # Import from package.
1818 from cefpython1 import cefpython
1919
2020import pygtk
Original file line number Diff line number Diff line change 66
77import sys
88try :
9- # Import local PYD file (portable zip) .
10- if sys . hexversion >= 0x02070000 and sys .hexversion < 0x03000000 :
9+ # Import local module .
10+ if 0x02070000 <= sys .hexversion < 0x03000000 :
1111 import cefpython_py27 as cefpython
12- elif sys . hexversion >= 0x03000000 and sys .hexversion < 0x04000000 :
12+ elif 0x03000000 <= sys .hexversion < 0x04000000 :
1313 import cefpython_py32 as cefpython
1414 else :
1515 raise Exception ("Unsupported python version: %s" % sys .version )
1616except ImportError :
17- # Import from package (installer) .
17+ # Import from package.
1818 from cefpython1 import cefpython
1919
2020from PyQt4 import QtGui
Original file line number Diff line number Diff line change 66
77import sys
88try :
9- # Import local PYD file (portable zip) .
10- if sys . hexversion >= 0x02070000 and sys .hexversion < 0x03000000 :
9+ # Import local module .
10+ if 0x02070000 <= sys .hexversion < 0x03000000 :
1111 import cefpython_py27 as cefpython
12- elif sys . hexversion >= 0x03000000 and sys .hexversion < 0x04000000 :
12+ elif 0x03000000 <= sys .hexversion < 0x04000000 :
1313 import cefpython_py32 as cefpython
1414 else :
1515 raise Exception ("Unsupported python version: %s" % sys .version )
1616except ImportError :
17- # Import from package (installer) .
17+ # Import from package.
1818 from cefpython1 import cefpython
1919
2020import PySide
Original file line number Diff line number Diff line change 66
77import sys
88try :
9- # Import local PYD file (portable zip) .
10- if sys . hexversion >= 0x02070000 and sys .hexversion < 0x03000000 :
9+ # Import local module .
10+ if 0x02070000 <= sys .hexversion < 0x03000000 :
1111 import cefpython_py27 as cefpython
12- elif sys . hexversion >= 0x03000000 and sys .hexversion < 0x04000000 :
12+ elif 0x03000000 <= sys .hexversion < 0x04000000 :
1313 import cefpython_py32 as cefpython
1414 else :
1515 raise Exception ("Unsupported python version: %s" % sys .version )
1616except ImportError :
17- # Import from package (installer) .
17+ # Import from package.
1818 from cefpython1 import cefpython
1919
2020import wx
You can’t perform that action at this time.
0 commit comments