Skip to content

meain/venv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

venv

Easier workflow for python virutalenvs.

screenshot

Better version available here.
This is because sourcing of venv cannot be put into a script but has to be in a shell function
Also dropped dependency on virtualenvwrapper

Dependencies:

Installation

Copy over venv to somewhere in $PATH and make it executable.

curl 'https://raw.githubusercontent.com/meain/venv/master/venv' -o /usr/local/bin/venv
chmod +x /usr/local/bin/venv

Usage

  • Run venv
  • Choose python version or choose OTHER to install new one from pyenv
  • Name your virtualenv ( you could give the name along with the command like venv myvenv )
  • You are good to go

Configuration

You can set default python version by setting DEFAULT_VENV_PYTHON_VERSION. So if you wanna use 3.7.1 do

DEFAULT_VENV_PYTHON_VERSION="3.7.1"

If you do not set anything it uses 3.6.6

About

Easier workflow for python virtualenvs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages