bugged stringlengths 4 228k | fixed stringlengths 0 96.3M | __index_level_0__ int64 0 481k |
|---|---|---|
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 465,000 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 465,001 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 465,002 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 465,003 |
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON... | 465,004 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV = "python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir li... | 465,005 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV = SDK["PYTHONVERSION"] PV = PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir ... | 465,006 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | 465,007 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | 465,008 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | 465,009 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | 465,010 |
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu... | 465,011 |
def respondCustom(self,contentType,body): msg = u"HTTP/1.0 200 OK\r\nContent-Type: %s" % contentType | def respondCustom(self,contentType,body): msg = u"HTTP/1.0 200 OK\r\nContent-Type: %s" % contentType | 465,012 |
def respondCustom(self,contentType,body): msg = u"HTTP/1.0 200 OK\r\nContent-Type: %s" % contentType | def respondCustom(self,contentType,body): msg = u"HTTP/1.0 200 OK\r\nContent-Type: %s" % contentType | 465,013 |
def makeCHM(outputfile, dirname, title, special = None): """Creates a CHM file based on a directory of HTML files. See the top of this file for more info.""" assert special == None or special in ["manual", "reference"] reference = (special == "reference") manual = (special == "manual") base = ireplace(outputfile, ".chm... | def makeCHM(outputfile, dirname, title, special = None): """Creates a CHM file based on a directory of HTML files. See the top of this file for more info.""" assert special == None or special in ["manual", "reference"] reference = (special == "reference") manual = (special == "manual") base = ireplace(outputfile, ".chm... | 465,014 |
def makeCHM(outputfile, dirname, title, special = None): """Creates a CHM file based on a directory of HTML files. See the top of this file for more info.""" assert special == None or special in ["manual", "reference"] reference = (special == "reference") manual = (special == "manual") base = ireplace(outputfile, ".chm... | def makeCHM(outputfile, dirname, title, special = None): """Creates a CHM file based on a directory of HTML files. See the top of this file for more info.""" assert special == None or special in ["manual", "reference"] reference = (special == "reference") manual = (special == "manual") base = ireplace(outputfile, ".chm... | 465,015 |
def makeReferenceCHM(outputfile, dirname, title): """Same as makeCHM, but converts a structure resembling that of the Panda3D reference.""" return makeCHM(outputfile, dirname, title, special = "reference") | def makeReferenceCHM(outputfile, dirname, title): """Same as makeCHM, but converts a structure resembling that of the Panda3D reference.""" return makeCHM(outputfile, dirname, title, special = "reference") | 465,016 |
def makeReferenceCHM(outputfile, dirname, title): """Same as makeCHM, but converts a structure resembling that of the Panda3D reference.""" return makeCHM(outputfile, dirname, title, special = "reference") | def makeReferenceCHM(outputfile, dirname, title): """Same as makeCHM, but converts a structure resembling that of the Panda3D reference.""" return makeCHM(outputfile, dirname, title, special = "reference") | 465,017 |
def makeReferenceCHM(outputfile, dirname, title): """Same as makeCHM, but converts a structure resembling that of the Panda3D reference.""" return makeCHM(outputfile, dirname, title, special = "reference") | def makeReferenceCHM(outputfile, dirname, title): """Same as makeCHM, but converts a structure resembling that of the Panda3D reference.""" return makeCHM(outputfile, dirname, title, special = "reference") | 465,018 |
def setTitleWithFilename(self, filename=""): import pdb;pdb.set_trace() title = self.ui.appname if filename != "": filenameshort = os.path.basename(filename) title = title + " (%s)"%filenameshort self.ui.SetLabel(title) | def setTitleWithFilename(self, filename=""): title = self.ui.appname if filename != "": filenameshort = os.path.basename(filename) title = title + " (%s)"%filenameshort self.ui.SetLabel(title) | 465,019 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 465,020 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 465,021 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 465,022 |
def bp(id=None, grp=None, cfg=None, iff=True, frameCount=1): if not bpdb.enabled or not bpdb.verifyEnabled(): return bpi = bp(id=id, grp=grp, cfg=cfg, iff=iff,frameCount=frameCount+1) bpi.maybeBreak(frameCount=frameCount+1) | def bp(id=None, grp=None, cfg=None, iff=True, test=None, frameCount=1): if not bpdb.enabled or not bpdb.verifyEnabled(): return bpi = bp(id=id, grp=grp, cfg=cfg, iff=iff,frameCount=frameCount+1) bpi.maybeBreak(frameCount=frameCount+1) | 465,023 |
def bp(id=None, grp=None, cfg=None, iff=True, frameCount=1): if not bpdb.enabled or not bpdb.verifyEnabled(): return bpi = bp(id=id, grp=grp, cfg=cfg, iff=iff,frameCount=frameCount+1) bpi.maybeBreak(frameCount=frameCount+1) | def bp(id=None, grp=None, cfg=None, iff=True, frameCount=1): if not bpdb.enabled or not bpdb.verifyEnabled(): return bpi = bp(id=id, grp=grp, cfg=cfg, iff=iff,frameCount=frameCount+1) bpi.maybeBreak(frameCount=frameCount+1) | 465,024 |
def bpCall(id=None,grp=None,cfg=None,iff=True,frameCount=1,onEnter=1,onExit=0): def decorator(f): return f | def bpCall(id=None,grp=None,cfg=None,iff=True,test=None,frameCount=1,onEnter=1,onExit=0): def decorator(f): return f | 465,025 |
def wrap(*args, **kwds): #create our bp object dbp = bp(id=id or f.__name__, grp=bpi.grp, cfg=bpi.cfg, iff=iff, frameCount=frameCount+1) if onEnter: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,displayPrefix='Calling ') f_result = f(*args, **kwds) if onExit: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,displayPrefi... | def wrap(*args, **kwds): #create our bp object dbp = bp(id=id or f.__name__, grp=bpi.grp, cfg=bpi.cfg, iff=iff, frameCount=frameCount+1) if onEnter: dbp.maybeBreak(iff=iff,test=test,frameCount=frameCount+1,displayPrefix='Calling ') f_result = f(*args, **kwds) if onExit: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,di... | 465,026 |
def wrap(*args, **kwds): #create our bp object dbp = bp(id=id or f.__name__, grp=bpi.grp, cfg=bpi.cfg, iff=iff, frameCount=frameCount+1) if onEnter: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,displayPrefix='Calling ') f_result = f(*args, **kwds) if onExit: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,displayPrefi... | def wrap(*args, **kwds): #create our bp object dbp = bp(id=id or f.__name__, grp=bpi.grp, cfg=bpi.cfg, iff=iff, frameCount=frameCount+1) if onEnter: dbp.maybeBreak(iff=iff,frameCount=frameCount+1,displayPrefix='Calling ') f_result = f(*args, **kwds) if onExit: dbp.maybeBreak(iff=iff,test=test,frameCount=frameCount+1,di... | 465,027 |
def bpGroup(*args, **kArgs): if not bpdb.enabled or not bpdb.verifyEnabled(): def functor(*cArgs, **ckArgs): return return functor argsCopy = args[:] def functor(*cArgs, **ckArgs): kwArgs = kArgs kwArgs.update(ckArgs) kwArgs.pop('static', None) kwArgs['frameCount'] = ckArgs.get('frameCount',1)+1 return bpdb.bp(*(cArgs... | def bpGroup(*args, **kArgs): def functor(*cArgs, **ckArgs): return if bpdb.enabled and bpdb.verifyEnabled(): argsCopy = args[:] def functor(*cArgs, **ckArgs): return return functor argsCopy = args[:] def functor(*cArgs, **ckArgs): kwArgs = kArgs kwArgs.update(ckArgs) kwArgs.pop('static', None) kwArgs['frameCount'] = ... | 465,028 |
def functor(*cArgs, **ckArgs): return | def functor(*cArgs, **ckArgs): return | 465,029 |
def maybeBreak(self, iff=True, frameCount=1,displayPrefix=''): if self.shouldBreak(iff): self.doBreak(frameCount=frameCount+1,displayPrefix=displayPrefix) | def maybeBreak(self, iff=True, test=None, frameCount=1, displayPrefix=''): if self.shouldBreak(iff=iff, test=test): self.doBreak(frameCount=frameCount+1,displayPrefix=displayPrefix) | 465,030 |
def shouldBreak(self,iff=True): #check easy early out if self.disabled: return False if not self.iff or not iff: return False | def shouldBreak(self,iff=True, test=None): #check easy early out if self.disabled: return False if not self.iff or not iff: return False | 465,031 |
def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith("thirdparty"): # Does this lib exist? if not os.path.exists(name): PkgDisable(opt) WARNINGS.append(name + " not found. Skipping Package " + opt) return LIBNAMES.appe... | def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith(GetThirdpartyDir()): # Does this lib exist? if not os.path.exists(name): PkgDisable(opt) WARNINGS.append(name + " not found. Skipping Package " + opt) return LIBNAME... | 465,032 |
def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith("thirdparty"): # Does this lib exist? if not os.path.exists(name): PkgDisable(opt) WARNINGS.append(name + " not found. Skipping Package " + opt) return LIBNAMES.appe... | def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith("thirdparty"): # Does this lib exist? if not os.path.exists(name): WARNINGS.append(name + " not found. Skipping Package " + opt) return LIBNAMES.append((opt, name)) | 465,033 |
def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith("thirdparty"): # Does this lib exist? if not os.path.exists(name): PkgDisable(opt) WARNINGS.append(name + " not found. Skipping Package " + opt) return LIBNAMES.appe... | def LibName(opt, name): # Check to see if the lib file actually exists for the thirdparty library given # Are we a thirdparty library? if name.startswith("thirdparty"): # Does this lib exist? if not os.path.exists(name): PkgDisable(opt) WARNINGS.append(name + " not found. Skipping Package " + opt) if (opt in PkgListGe... | 465,034 |
def GetThirdpartyDir(): global THIRDPARTYDIR if (THIRDPARTYDIR != None): return THIRDPARTYDIR if (sys.platform.startswith("win")): if (platform.architecture()[0] == "64bit"): THIRDPARTYDIR="thirdparty/win-libs-vc9-x64/" else: THIRDPARTYDIR="thirdparty/win-libs-vc9/" if not os.path.isdir(THIRDPARTYDIR): THIRDPARTYDIR="t... | def GetThirdpartyDir(): global THIRDPARTYDIR if (THIRDPARTYDIR != None): return THIRDPARTYDIR if (sys.platform.startswith("win")): if (platform.architecture()[0] == "64bit"): THIRDPARTYDIR="thirdparty/win-libs-vc9-x64/" else: THIRDPARTYDIR="thirdparty/win-libs-vc9/" if not os.path.isdir(THIRDPARTYDIR): THIRDPARTYDIR="t... | 465,035 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,036 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,037 |
def changeHierarchy(self, data, x, y): itemText = data.split('_') itemId = itemText[1] parent = self.tree.GetRootItem() item = self.traverse(parent, itemId) if item is None: return | def changeHierarchy(self, data, x, y): itemText = data.split('_') itemId = itemText[-1] parent = self.tree.GetRootItem() item = self.traverse(parent, itemId) if item is None: return | 465,038 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | 465,039 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,040 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,041 |
def GetLibCache(): # Returns a list of cached libraries, not prefixed by lib and not suffixed by .so* or .a! global LD_CACHE if (LD_CACHE == None): LD_CACHE = [] print "Generating library cache..." if (LocateBinary("ldconfig") != None): handle = os.popen(LocateBinary("ldconfig") + " -NXp") result = handle.read().strip(... | def GetLibCache(): # Returns a list of cached libraries, not prefixed by lib and not suffixed by .so* or .a! global LD_CACHE if (LD_CACHE == None): LD_CACHE = [] print "Generating library cache..." if (LocateBinary("ldconfig") != None): if (sys.platform.startswith("freebsd")): handle = os.popen(LocateBinary("ldconfig")... | 465,042 |
def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | def MakeInstallerOSX(): if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins") oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py --version %s" % VERSION) return import compileall if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm... | 465,043 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | 465,044 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | 465,045 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | def if (sys.platform.startswith("freebsd")): IncDirectory("ALWAYS", "/usr/local/include") LibDirectory("ALWAYS", "/usr/local/lib") parseopts(args): if (sys.platform.startswith("freebsd")): IncDirectory("ALWAYS", "/usr/local/include") LibDirectory("ALWAYS", "/usr/local/lib") global if (sys.platform.startswith("freebsd... | 465,046 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | 465,047 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | 465,048 |
def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | def parseopts(args): global INSTALLER,RTDIST,RUNTIME,GENMAN,DISTRIBUTOR global VERSION,COMPRESSOR,THREADCOUNT,OSXTARGET longopts = [ "help","distributor=","verbose","runtime","osxtarget=", "optimize=","everything","nothing","installer","rtdist","nocolor", "version=","lzma","no-python","threads=","outputdir=","override=... | 465,049 |
def BracketNameWithQuotes(name): # Workaround for OSX bug - compiler doesn't like those flags quoted. if (name.startswith("-framework")): return name if (name.startswith("-dylib_file")): return name # Don't add quotes when it's not necessary. if " " not in name: return name # Account for quoted name (leave as is) but... | def BracketNameWithQuotes(name): # Workaround for OSX bug - compiler doesn't like those flags quoted. if (name.startswith("-framework")): return name if (name.startswith("-dylib_file")): return name # Don't add quotes when it's not necessary. if " " not in name: return name # Account for quoted name (leave as is) but... | 465,050 |
def BracketNameWithQuotes(name): # Workaround for OSX bug - compiler doesn't like those flags quoted. if (name.startswith("-framework")): return name if (name.startswith("-dylib_file")): return name # Don't add quotes when it's not necessary. if " " not in name: return name # Account for quoted name (leave as is) but... | def BracketNameWithQuotes(name): # Workaround for OSX bug - compiler doesn't like those flags quoted. if (name.startswith("-framework")): return name if (name.startswith("-dylib_file")): return name # Don't add quotes when it's not necessary. if " " not in name: return name # Account for quoted name (leave as is) but... | 465,051 |
def CompileLink(dll, obj, opts): if (COMPILER=="MSVC"): cmd = "link /nologo" if (platform.architecture()[0] == "64bit"): cmd += " /MACHINE:X64" if ("MFC" not in opts): cmd += " /NOD:MFC90.LIB /NOD:MFC80.LIB /NOD:LIBCMT" cmd += " /NOD:LIBCI.LIB /DEBUG" cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls" if (GetOrig... | def CompileLink(dll, obj, opts): if (COMPILER=="MSVC"): cmd = "link /nologo" if (platform.architecture()[0] == "64bit"): cmd += " /MACHINE:X64" if ("MFC" not in opts): cmd += " /NOD:MFC90.LIB /NOD:MFC80.LIB /NOD:LIBCMT" cmd += " /NOD:LIBCI.LIB /DEBUG" cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls" if (GetOrig... | 465,052 |
def CompileLink(dll, obj, opts): if (COMPILER=="MSVC"): cmd = "link /nologo" if (platform.architecture()[0] == "64bit"): cmd += " /MACHINE:X64" if ("MFC" not in opts): cmd += " /NOD:MFC90.LIB /NOD:MFC80.LIB /NOD:LIBCMT" cmd += " /NOD:LIBCI.LIB /DEBUG" cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls" if (GetOrig... | def CompileLink(dll, obj, opts): if (COMPILER=="MSVC"): cmd = "link /nologo" if (platform.architecture()[0] == "64bit"): cmd += " /MACHINE:X64" if ("MFC" not in opts): cmd += " /NOD:MFC90.LIB /NOD:MFC80.LIB /NOD:LIBCMT" cmd += " /NOD:LIBCI.LIB /DEBUG" cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls" if (GetOrig... | 465,053 |
def CompileLink(dll, obj, opts): if (COMPILER=="MSVC"): cmd = "link /nologo" if (platform.architecture()[0] == "64bit"): cmd += " /MACHINE:X64" if ("MFC" not in opts): cmd += " /NOD:MFC90.LIB /NOD:MFC80.LIB /NOD:LIBCMT" cmd += " /NOD:LIBCI.LIB /DEBUG" cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls" if (GetOrig... | def CompileLink(dll, obj, opts): if (COMPILER=="MSVC"): cmd = "link /nologo" if (platform.architecture()[0] == "64bit"): cmd += " /MACHINE:X64" if ("MFC" not in opts): cmd += " /NOD:MFC90.LIB /NOD:MFC80.LIB /NOD:LIBCMT" cmd += " /NOD:LIBCI.LIB /DEBUG" cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls" if (GetOrig... | 465,054 |
def CompileLink(dll, obj, opts): if (COMPILER=="MSVC"): cmd = "link /nologo" if (platform.architecture()[0] == "64bit"): cmd += " /MACHINE:X64" if ("MFC" not in opts): cmd += " /NOD:MFC90.LIB /NOD:MFC80.LIB /NOD:LIBCMT" cmd += " /NOD:LIBCI.LIB /DEBUG" cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls" if (GetOrig... | def CompileLink(dll, obj, opts): if (COMPILER=="MSVC"): cmd = "link /nologo" if (platform.architecture()[0] == "64bit"): cmd += " /MACHINE:X64" if ("MFC" not in opts): cmd += " /NOD:MFC90.LIB /NOD:MFC80.LIB /NOD:LIBCMT" cmd += " /NOD:LIBCI.LIB /DEBUG" cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls" if (GetOrig... | 465,055 |
def CompileResource(target, src, opts): ipath = GetListOption(opts, "DIR:") if (COMPILER=="MSVC"): cmd = "rc" cmd += " /Fo" + BracketNameWithQuotes(target) for x in ipath: cmd += " /I" + x for (opt,dir) in INCDIRECTORIES: if (opt=="ALWAYS") or (opts.count(opt)): cmd += " /I" + BracketNameWithQuotes(dir) for (opt,var,va... | def CompileResource(target, src, opts): ipath = GetListOption(opts, "DIR:") if (COMPILER=="MSVC"): cmd = "rc" cmd += " /Fo" + BracketNameWithQuotes(target) for x in ipath: cmd += " /I" + x for (opt,dir) in INCDIRECTORIES: if (opt=="ALWAYS") or (opts.count(opt)): cmd += " /I" + BracketNameWithQuotes(dir) for (opt,var,va... | 465,056 |
def RunGenPyCode(target, inputs, opts): if (PkgSkip("PYTHON") != 0): return cmdstr = SDK["PYTHONEXEC"] + " " + os.path.join("direct", "src", "ffi", "jGenPyCode.py") if (GENMAN): cmdstr += " -d" cmdstr += " -r" for i in inputs: if (GetOrigExt(i)==".dll"): cmdstr += " " + os.path.basename(os.path.splitext(i)[0].replace(... | def RunGenPyCode(target, inputs, opts): if (PkgSkip("PYTHON") != 0): return cmdstr = SDK["PYTHONEXEC"] + " " + os.path.join("direct", "src", "ffi", "jGenPyCode.py") if (GENMAN): cmdstr += " -d" cmdstr += " -r" for i in inputs: if (GetOrigExt(i)==".dll"): cmdstr += " " + os.path.basename(os.path.splitext(i)[0].replace(... | 465,057 |
def RunGenPyCode(target, inputs, opts): if (PkgSkip("PYTHON") != 0): return cmdstr = SDK["PYTHONEXEC"] + " " + os.path.join("direct", "src", "ffi", "jGenPyCode.py") if (GENMAN): cmdstr += " -d" cmdstr += " -r" for i in inputs: if (GetOrigExt(i)==".dll"): cmdstr += " " + os.path.basename(os.path.splitext(i)[0].replace(... | def RunGenPyCode(target, inputs, opts): if (PkgSkip("PYTHON") != 0): return cmdstr = SDK["PYTHONEXEC"] + " " + os.path.join("direct", "src", "ffi", "jGenPyCode.py") if (GENMAN): cmdstr += " -d" cmdstr += " -r" for i in inputs: if (GetOrigExt(i)==".dll"): cmdstr += " " + os.path.basename(os.path.splitext(i)[0].replace(... | 465,058 |
def FreezePy(target, inputs, opts): assert len(inputs) > 0 # Make sure this function isn't called before genpycode is run. cmdstr = SDK["PYTHONEXEC"] + " " + os.path.join("direct", "src", "showutil", "pfreeze.py") src = inputs.pop(0) for i in inputs: cmdstr += " -i " + os.path.splitext(i)[0] cmdstr += " -o " + target +... | def FreezePy(target, inputs, opts): assert len(inputs) > 0 # Make sure this function isn't called before genpycode is run. cmdstr = SDK["PYTHONEXEC"] + " " + os.path.join("direct", "src", "showutil", "pfreeze.py") src = inputs.pop(0) for i in inputs: cmdstr += " -i " + os.path.splitext(i)[0] cmdstr += " -o " + target +... | 465,059 |
def CompileBundle(target, inputs, opts): if (sys.platform != "darwin"): return plist = None resources = [] objects = [] for i in inputs: if (i.endswith(".plist")): if (plist != None): exit("Only one plist file can be used when creating a bundle!") plist = i elif (i.endswith(".rsrc") or i.endswith(".icns")): resources.a... | def CompileBundle(target, inputs, opts): if (sys.platform != "darwin"): return plist = None resources = [] objects = [] for i in inputs: if (i.endswith(".plist")): if (plist != None): exit("Only one plist file can be used when creating a bundle!") plist = i elif (i.endswith(".rsrc") or i.endswith(".icns")): resources.a... | 465,060 |
def CompileBundle(target, inputs, opts): if (sys.platform != "darwin"): return plist = None resources = [] objects = [] for i in inputs: if (i.endswith(".plist")): if (plist != None): exit("Only one plist file can be used when creating a bundle!") plist = i elif (i.endswith(".rsrc") or i.endswith(".icns")): resources.a... | def CompileBundle(target, inputs, opts): if (sys.platform != "darwin"): return plist = None resources = [] objects = [] for i in inputs: if (i.endswith(".plist")): if (plist != None): exit("Only one plist file can be used when creating a bundle!") plist = i elif (i.endswith(".rsrc") or i.endswith(".icns")): resources.a... | 465,061 |
ProgressOutput(progress, "Building package from pdef file", infile) | ProgressOutput(progress, "Building package from pdef file", infile) | 465,062 |
ProgressOutput(progress, "Building package from pdef file", infile) | ProgressOutput(progress, "Building package from pdef file", infile) | 465,063 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | 465,064 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | 465,065 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | 465,066 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | 465,067 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | 465,068 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | 465,069 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | 465,070 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | 465,071 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | 465,072 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | 465,073 |
def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | def WriteConfigSettings(): dtool_config={} prc_parameters={} plugin_config={} if (sys.platform.startswith("win")): for key,win,unix in DTOOL_CONFIG: dtool_config[key] = win for key,win,unix in PRC_PARAMETERS: prc_parameters[key] = win else: for key,win,unix in DTOOL_CONFIG: dtool_config[key] = unix for key,win,unix in... | 465,074 |
def CreatePandaVersionFiles(): version1=int(VERSION.split(".")[0]) version2=int(VERSION.split(".")[1]) version3=int(VERSION.split(".")[2]) nversion=version1*1000000+version2*1000+version3 if (DISTRIBUTOR != "cmu"): # Subtract 1 if we are not an official version. nversion -= 1 if (RUNTIME): pandaversion_h = PANDAVERSIO... | def CreatePandaVersionFiles(): version1=int(VERSION.split(".")[0]) version2=int(VERSION.split(".")[1]) version3=int(VERSION.split(".")[2]) nversion=version1*1000000+version2*1000+version3 if (DISTRIBUTOR != "cmu"): # Subtract 1 if we are not an official version. nversion -= 1 if (RUNTIME): pandaversion_h = PANDAVERSIO... | 465,075 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,076 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,077 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,078 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,079 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,080 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,081 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,082 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,083 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,084 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,085 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,086 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,087 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,088 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,089 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,090 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,091 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,092 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,093 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,094 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,095 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,096 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,097 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,098 |
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 465,099 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.