Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
OfekShilon authored Nov 27, 2023
1 parent b953629 commit 91b1ef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ce_install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

$cwd = Get-Location

if (! ((Get-Item .env) -as [bool])) {
if (! ((Test-Path -Path .env) -as [bool])) {
python -m venv .env
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -

Expand All @@ -16,4 +16,4 @@ if (! ((Get-Item .env) -as [bool])) {
$env:POETRY_VENV = "$cwd/.venv"
$env:POETRY_DEPS = "$env:POETRY_VENV/.deps"

poetry run python -c "import sys; sys.path.append('$cwd/bin'); from lib.ce_install import main; main()" $args
poetry run python -c "import sys; sys.path.append(r'$cwd/bin'); from lib.ce_install import main; main()" $args

0 comments on commit 91b1ef9

Please sign in to comment.