Skip to content

Minimalistic set of convenience functions for managing Python virtual environments

Notifications You must be signed in to change notification settings

pylipp/venv-burrito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Deprecated

This project is deprecated in favor of a virtualenvwrapper fork.

venv-burrito

Minimalistic set of convenience functions for managing Python virtual environments using the venv module. Inspired by virtualenvwrapper

Usage

Download the functions.bash script and source it in your shell.

The following functions are now available:

  • mkvirtualenv VENV-NAME
  • workon VENV-NAME
  • lsvirtualenv
  • cdvirtualenv
  • rmvirtualenv VENV-NAME

Their behavior is almost equivalent to the behavior of the eponymous virtualenvwrapper functions.

Testing

Running the tests requires bats to be installed.

From the repository root, execute

bats test/functions.bats

Why not virtualenvwrapper?

It's an excellent collection of scripts. However it wraps virtualenv which - when creating virtual environments - copies the system Python binary to the virtual environment, leading to drawbacks discussed here. Using the built-in venv module is more robust.

Additionally, I'm only using five of the many functions provided by virtualenvwrapper.

About

Minimalistic set of convenience functions for managing Python virtual environments

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages