Skip to content

Commit

Permalink
Win: Formatting - split long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-revay committed Jan 2, 2025
1 parent bf695c8 commit e3c2ba0
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Windows_1X/packages_install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,18 @@ winget upgrade --all --accept-source-agreements --accept-package-agreements `
# TODO some packages below need to be fixed (or just installed globally?)
# TODO install python applications with pipx
# refresh Path variable
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" `
+ [System.Environment]::GetEnvironmentVariable("Path","User")

py -3 -m pip install --user pipx
py -3 -m pipx ensurepath

# refresh Path variable
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
pipx install flawfinder # C++ linter
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" `
+ [System.Environment]::GetEnvironmentVariable("Path","User")

# C++ linters
pipx install flawfinder
pipx install cpplint

# TODO try installing these packages directly via winget
Expand All @@ -168,7 +173,9 @@ pip install scikit-learn
pip install shap

# TODO an attempt to reload the path (investigate further)
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" `
+ [System.Environment]::GetEnvironmentVariable("Path","User")

# TODO uncomment and fix the next line
# gem install github-linguist

Expand Down

0 comments on commit e3c2ba0

Please sign in to comment.