Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkb7 committed Feb 15, 2024
1 parent d8f3f3e commit e760ff4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tasks/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ def setup(
if is_windows():
# Add common pulumi install locations to PATH
paths = [
Path().home().joinpath(".pulumi", "bin"),
Path().home().joinpath("AppData", "Local", "pulumi", "bin"),
'C:\\Program Files (x86)\\Pulumi\\bin',
str(x)
for x in [
Path().home().joinpath(".pulumi", "bin"),
Path().home().joinpath("AppData", "Local", "pulumi", "bin"),
'C:\\Program Files (x86)\\Pulumi\\bin',
]
]
os.environ["PATH"] = ';'.join([os.environ["PATH"]] + paths)
else:
Expand Down

0 comments on commit e760ff4

Please sign in to comment.