Skip to content

Commit

Permalink
Add venv as alias for virtualenv (but don't document it yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdarst committed Jan 28, 2025
1 parent fbd29c5 commit 47ab80a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions envkernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,11 @@ def _run(self, args, rest):



class venv(virtualenv):
pass



class docker(envkernel):
def setup(self):
super().setup()
Expand Down
2 changes: 1 addition & 1 deletion test_envkernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"kernel_name": ""
}
"""
ALL_MODULES = ["conda", "virtualenv", "lmod", "docker", "singularity"]
ALL_MODULES = ["conda", "virtualenv", "venv", "lmod", "docker", "singularity"]


def install(d, argv, name='testkernel'):
Expand Down

0 comments on commit 47ab80a

Please sign in to comment.