Skip to content

Commit 3f25be6

Browse files
sdispaterabn
authored andcommitted
Fix data dir location on MacOS
1 parent 2ab6536 commit 3f25be6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

install-poetry.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ def data_dir(version: Optional[str] = None) -> Path:
141141
path = os.path.join(path, "pypoetry")
142142
elif MACOS:
143143
path = os.path.expanduser("~/Library/Application Support/pypoetry")
144-
if not os.path.isdir(path):
145-
path = os.path.expanduser("~/.config/pypoetry")
146144
else:
147145
path = os.getenv("XDG_DATA_HOME", os.path.expanduser("~/.local/share"))
148146
path = os.path.join(path, "pypoetry")

0 commit comments

Comments
 (0)