tox-dev / platformdirs

A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
https://platformdirs.readthedocs.io
MIT License
568 stars 49 forks source link

Fix multi-path returned from `_path` methods on MacOS #299

Closed matthewhughes934 closed 2 weeks ago

matthewhughes934 commented 2 weeks ago

Fix site_{data,cache}_path returning pathlib.Path based on the entire : separated multipath under Homebrew with multipath enabled. Instead, follow the approach used by Unix and only return the first element if we're multipath

These were the only two attributes that changed when under homebrew

Issue: 292