mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
support python 2.2.0
This commit is contained in:
parent
67a0fd47db
commit
d3226bd9c3
@ -48,7 +48,7 @@ outputDir = ''
|
|||||||
extensionsDir = ''
|
extensionsDir = ''
|
||||||
interrogateLib = ''
|
interrogateLib = ''
|
||||||
codeLibs = []
|
codeLibs = []
|
||||||
doSqueeze = True
|
doSqueeze = 1
|
||||||
etcPath = []
|
etcPath = []
|
||||||
|
|
||||||
def doGetopts():
|
def doGetopts():
|
||||||
@ -102,7 +102,7 @@ def doGetopts():
|
|||||||
FFIConstants.wantComments = 0
|
FFIConstants.wantComments = 0
|
||||||
FFIConstants.wantTypeChecking = 0
|
FFIConstants.wantTypeChecking = 0
|
||||||
elif (flag == '-n'):
|
elif (flag == '-n'):
|
||||||
doSqueeze = False
|
doSqueeze = 0
|
||||||
elif (flag in ['-g', '-t', '-p', '-o']):
|
elif (flag in ['-g', '-t', '-p', '-o']):
|
||||||
FFIConstants.notify.debug("option is deprecated: %s" % (flag))
|
FFIConstants.notify.debug("option is deprecated: %s" % (flag))
|
||||||
|
|
||||||
|
@ -150,9 +150,9 @@ for package in packages:
|
|||||||
# instrument it.
|
# instrument it.
|
||||||
try:
|
try:
|
||||||
__import__(basename, globals(), locals())
|
__import__(basename, globals(), locals())
|
||||||
isModule = True
|
isModule = 1
|
||||||
except:
|
except:
|
||||||
isModule = False
|
isModule = 0
|
||||||
|
|
||||||
if isModule:
|
if isModule:
|
||||||
if basename not in DoGenPyCode.codeLibs:
|
if basename not in DoGenPyCode.codeLibs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user