-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor virtualenv generators #5821
Comments
Testing approach suggested here by @ytimenkov should probably be considered first: #4291 |
Yes, I agree, that has been a long standing open issue, we couldn't move forward it properly (sorry @ytimenkov), if we are doing this, I agree that recovering that effort for better testing the environments would be a great thing. |
We've merged the tests (#5828), here I have a POC about using |
Objectives:
.env
file (some usage examples: docker, npm dotenv, heroku,...).It is also needed for the plugins, they need to read environment variables from some file in order to apply them before calling some Conan commands or CMake itself.
Other things to consider (not the first iteration):
scripts
be generated or contained in the Conan codebase (and updated with new versions)? It would allow activation like:$> conan_env <path/to/file.env>
, is it possible to use a Conan command for it? Can be created a stack of activated virtualenvs and help the user with it?$> my_local.sh
, it will be implemented like<path/to/conan/activate.sh> <path/to/local/file.env>
The text was updated successfully, but these errors were encountered: