microsoft / python-environment-tools

MIT License
164 stars 18 forks source link

Detect poetry exes in `/opt/homebrew/bin` and resolve those symlinks to get to the actual install dir #137

Open DonJayamanne opened 3 months ago

DonJayamanne commented 3 months ago

E.g. /opt/homebrew/bin/poetry is a symlink that points to /opt/homebrew/Cellar/poetry/1.8.3_2/bin/poetry

Using tihs we can get the version as well, and possibly other information such a config files.