mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Minor python fix for windows
This commit is contained in:
parent
4f218a4a84
commit
7073039767
@ -1322,6 +1322,10 @@ def SdkLocatePython(force_use_sys_executable = False):
|
||||
pv = pv[7:10]
|
||||
SDK["PYTHONVERSION"]="python"+pv
|
||||
|
||||
elif (sys.platform == "win32"):
|
||||
SDK["PYTHON"] = os.path.dirname(sysconfig.get_python_inc())
|
||||
SDK["PYTHONVERSION"] = "python" + sysconfig.get_python_version()
|
||||
SDK["PYTHONEXEC"] = sys.executable
|
||||
else:
|
||||
SDK["PYTHON"] = sysconfig.get_python_inc()
|
||||
SDK["PYTHONVERSION"] = "python" + sysconfig.get_python_version()
|
||||
|
Loading…
x
Reference in New Issue
Block a user