Repository navigation
Port before v0.60/virtual_environments - #849
Merged
fdncred merged 5 commits intoMay 26, 2024
Merged
Conversation
added 4 commits
May 26, 2024 14:11
to `modules/virtual_enviromnemts/venv.nu` `venv_deactivate.nu`
- The `conda.nu` script has already been ported to `modules/virtual_environments/conda/*` - remove README.md because the information is already in `modules/virtual_environments/README.md`
similar to `conda` and `msvc`
- copy the already ported activation script from `conda.nu` - add `load-env` and `def --env` - remove duplication for PATH/Path because nu now supports case insensitive access - remove $nu.path use $env.PATH - remove PATH serialization to string/from string - use a record instead of a table for `load-env`
Contributor
|
if scripts are in the modules folders, they need to have exports, otherwise they need to be in the scripts folder. |
make similar to `conda.nu` - add `export` keyword
Author
|
Now
|
Contributor
|
thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is part of porting all old scripts #221 and includes the
virtual_environmentsmodule5 files changed
conda.nu: removed, already inmodules/virtual_enviromnents/conda/nu_conda.nuconda_deactivate.nu: also removed, has already been merged withnu_conda.nuREADME.nu: removed, similar info inmodules/virtual_enviromnents/README.mdvenv.nu: ported tomodules/virtual_enviromnents/venv/venv.nuvenv_deactivate.nu: ported tomodules/virtual_enviromnents/venv/venv_deactivate.nu