microsoft / python-environment-tools

MIT License
164 stars 18 forks source link

Add any other bin dirs for environment managers #154

Closed karthiknadig closed 3 weeks ago

karthiknadig commented 1 month ago

This is specifically for condabin dir, after conda is found.

This is important to have path to conda.bat which is used for activating conda envs (cases where conda init is not called) and running conda using conda run.

DonJayamanne commented 1 month ago

Please can you provide more infromation, as I cannot understand the requirement here.

karthiknadig commented 1 month ago

Currently, you detect and return path to conda.exe, for shell executions, the recommendation is to use conda.bat. This is typically found in condabin directory in the same level as conda.exe . Can you add this to the message sent back about environment managers.

DonJayamanne commented 3 weeks ago

After discussion decided that we'd do this in Python extension for now.