mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
makepanda: Support overriding build of interrogate with env vars
[skip ci]
This commit is contained in:
parent
7f88f6de24
commit
d3bb769a36
@ -601,6 +601,10 @@ def GetInterrogateDir():
|
||||
|
||||
|
||||
def GetInterrogate():
|
||||
path = os.environ.get('INTERROGATE')
|
||||
if path:
|
||||
return path
|
||||
|
||||
path = GetInterrogateDir() + '/interrogate/interrogate'
|
||||
if sys.platform == "win32":
|
||||
path += ".exe"
|
||||
@ -608,6 +612,10 @@ def GetInterrogate():
|
||||
|
||||
|
||||
def GetInterrogateModule():
|
||||
path = os.environ.get('INTERROGATE_MODULE')
|
||||
if path:
|
||||
return path
|
||||
|
||||
path = GetInterrogateDir() + '/interrogate_module/interrogate_module'
|
||||
if sys.platform == "win32":
|
||||
path += ".exe"
|
||||
|
Loading…
x
Reference in New Issue
Block a user