Skip to content

Commit

Permalink
fix dependencies not being installed
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerScripts committed Feb 18, 2021
1 parent ed426ef commit b8d3913
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions deps/windows/windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,18 @@ if (Test-Path -Path "./deps/windows/PyStemmer-2.0.1-cp39-cp39-win_amd64.whl") {
} else {
Invoke-WebRequest -Uri https://download.lfd.uci.edu/pythonlibs/z4tqcw5k/PyStemmer-2.0.1-cp39-cp39-win_amd64.whl -OutFile ./deps/windows/PyStemmer-2.0.1-cp39-cp39-win_amd64.whl
}

#check if pipenv is installed
if (!(get-command pipenv)) {
write-host "Pipenv not found - installing"
& pip3 install pipenv
exit 1
} else {write-host "Pipenv found!"}

#check for pipenv dependencies
if (Test-Path -Path "./.venv") {
Write-Host "Pipenv deps installed"
} else {
& pip3 install ./deps/windows/PyStemmer-2.0.1-cp39-cp39-win_amd64.whl
& pipenv install
}

0 comments on commit b8d3913

Please sign in to comment.