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