diff --git a/vk-inviter/make.ps1 b/vk-inviter/make.ps1 index 83560de..f95e9df 100644 --- a/vk-inviter/make.ps1 +++ b/vk-inviter/make.ps1 @@ -1,13 +1,14 @@ param ( [switch] $Init, [switch] $Clean, - [switch] $Compile + [switch] $Compile, + [string] $PythonCommand = "python" ) Set-Location $PSScriptRoot $didSomething = $false if ($Init) { - & py -m venv ./.venv + & $PythonCommand -m venv ./.venv . ./.venv/Scripts/Activate.ps1 & ./.venv/Scripts/python -m pip install --upgrade pip @@ -35,4 +36,4 @@ if ($Compile) { if (!$didSomething) { Get-Help $PSCommandPath -} \ No newline at end of file +}