mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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():
|
def GetInterrogate():
|
||||||
|
path = os.environ.get('INTERROGATE')
|
||||||
|
if path:
|
||||||
|
return path
|
||||||
|
|
||||||
path = GetInterrogateDir() + '/interrogate/interrogate'
|
path = GetInterrogateDir() + '/interrogate/interrogate'
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
path += ".exe"
|
path += ".exe"
|
||||||
@ -608,6 +612,10 @@ def GetInterrogate():
|
|||||||
|
|
||||||
|
|
||||||
def GetInterrogateModule():
|
def GetInterrogateModule():
|
||||||
|
path = os.environ.get('INTERROGATE_MODULE')
|
||||||
|
if path:
|
||||||
|
return path
|
||||||
|
|
||||||
path = GetInterrogateDir() + '/interrogate_module/interrogate_module'
|
path = GetInterrogateDir() + '/interrogate_module/interrogate_module'
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
path += ".exe"
|
path += ".exe"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user