setomits / venv-fish

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

venv-fish

venv-fish includes some wrapper commands for venv in Python3. You can use it like virtualenvwrapper.

Install

With fisherman

fisher setomits/venv-fish

Usage

By default, venv-fish uses ~/venv for virtual environments. You can change the directory with environment variable $VENV.

Create a new envionment

mkvenv cool-flask-app

mkvenv creates an environment and change into the environment. If you want to quit, run deactivate.

Change working environment

workon cool-flask-app

If you are in the project directory whose name is same with the enviornment, you can run just workon like below:

cd /path/to/projects/cool-flask-app
workon

Remove an environment

rmvenv cool-flask-app

List all environments

lsvenv

About

License:MIT License


Languages

Language:Shell 100.0%