Using conda's activate.d and deactivate.d directories is the proper way to handle environment-specific library paths. This ensures the environment variables are only set when the conda environment is active and automatically cleaned up when deactivated.
I've implemented the conda-native approach you suggested, which is much more robust and user-friendly:
- 🎯 Environment-Specific: Library paths only set when the conda environment is active