Skip to content

Commit

Permalink
Update poetry.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkhala authored Aug 2, 2024
1 parent 83774af commit d676492
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions poetry/poetry.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ function Install-Poetry
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/davidkhala/windows-utils/master/powershell.ps1 -UseBasicParsing).Content | Invoke-Expression
Add-Path $env:APPDATA\Python\Scripts # need admin

Add-Path $env:APPDATA\Python\Scripts
Add-Path $env:APPDATA\Python\Scripts User # need admin to configure `Machine` as replacement of `User`

poetry --version

}
Expand Down

0 comments on commit d676492

Please sign in to comment.