Skip to content
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

return path and script from activation command #151

Merged
merged 2 commits into from
Apr 5, 2023

Conversation

wolfv
Copy link
Contributor

@wolfv wolfv commented Apr 3, 2023

I need the computed PATH for stacking of environments. Would be curious what you think about this API @baszalmstra?

@baszalmstra
Copy link
Collaborator

I prefer to add a result struct indtead of a tuple to add some context to the variables

@wolfv wolfv force-pushed the activation_get_path branch from 50f7f20 to 67c1d22 Compare April 3, 2023 10:21
@wolfv
Copy link
Contributor Author

wolfv commented Apr 3, 2023

I changed it. I think in the future we may want to have another intermediate type that just records all the "modifications" going from one env to the next and that can be "realized" into the script.

@wolfv
Copy link
Contributor Author

wolfv commented Apr 3, 2023

Also plain deactivation is something that isn't easily possible yet :)

@baszalmstra baszalmstra merged commit 399fcd4 into conda:main Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants