mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Add $INSTDIR\python\Scripts to %PATH% on Windows as well
This commit is contained in:
parent
11403d7826
commit
7b7a7874d8
@ -245,10 +245,14 @@ Section -post
|
|||||||
# Add the "bin" directory to the PATH.
|
# Add the "bin" directory to the PATH.
|
||||||
Push "$INSTDIR\python"
|
Push "$INSTDIR\python"
|
||||||
Call RemoveFromPath
|
Call RemoveFromPath
|
||||||
|
Push "$INSTDIR\python\Scripts"
|
||||||
|
Call RemoveFromPath
|
||||||
Push "$INSTDIR\bin"
|
Push "$INSTDIR\bin"
|
||||||
Call RemoveFromPath
|
Call RemoveFromPath
|
||||||
Push "$INSTDIR\python"
|
Push "$INSTDIR\python"
|
||||||
Call AddToPath
|
Call AddToPath
|
||||||
|
Push "$INSTDIR\python\Scripts"
|
||||||
|
Call AddToPath
|
||||||
Push "$INSTDIR\bin"
|
Push "$INSTDIR\bin"
|
||||||
Call AddToPath
|
Call AddToPath
|
||||||
|
|
||||||
@ -281,9 +285,7 @@ Section Uninstall
|
|||||||
!ifndef PPGAME
|
!ifndef PPGAME
|
||||||
Push "$INSTDIR\python"
|
Push "$INSTDIR\python"
|
||||||
Call un.RemoveFromPath
|
Call un.RemoveFromPath
|
||||||
Push "$INSTDIR\python"
|
Push "$INSTDIR\python\Scripts"
|
||||||
Call un.RemoveFromPath
|
|
||||||
Push "$INSTDIR\bin"
|
|
||||||
Call un.RemoveFromPath
|
Call un.RemoveFromPath
|
||||||
Push "$INSTDIR\bin"
|
Push "$INSTDIR\bin"
|
||||||
Call un.RemoveFromPath
|
Call un.RemoveFromPath
|
||||||
|
Loading…
x
Reference in New Issue
Block a user