mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 02:18:35 +00:00
checkout-deps: Fix AMBuild install for fresh installs on Windows with newer Python versions
This commit is contained in:
parent
ae789148b1
commit
b18c8cbfd6
6
tools/checkout-deps.sh
vendored
6
tools/checkout-deps.sh
vendored
@ -210,7 +210,11 @@ if [ $? -eq 1 ]; then
|
|||||||
name=ambuild
|
name=ambuild
|
||||||
checkout
|
checkout
|
||||||
|
|
||||||
if [ $iswin -eq 1 ] || [ $ismac -eq 1 ]; then
|
if [ $iswin -eq 1 ]; then
|
||||||
|
# Without first doing this explicitly, ambuild install fails on newer Python versions on Windows
|
||||||
|
$python_cmd -m pip install wheel
|
||||||
|
$python_cmd -m pip install ./ambuild
|
||||||
|
elif [ $ismac -eq 1 ]; then
|
||||||
$python_cmd -m pip install ./ambuild
|
$python_cmd -m pip install ./ambuild
|
||||||
else
|
else
|
||||||
echo "Installing AMBuild at the user level. Location can be: ~/.local/bin"
|
echo "Installing AMBuild at the user level. Location can be: ~/.local/bin"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user