viv isn't venv
Find a file
2023-03-08 02:49:53 -06:00
docs docs: start generating usage documentation in the form of VHS tapes 2022-12-26 17:24:17 -06:00
examples docs: add textual/stopwatch example 2023-03-08 02:49:53 -06:00
src/viv feat: add --standalone generator to viv freeze 2023-03-08 02:31:12 -06:00
.gitignore build: add .task.mk 2023-01-05 13:48:51 -06:00
.pre-commit-config.yaml build: update versions 2023-03-02 23:01:34 -06:00
.task.cfg.mk build: update task.mk 2023-03-02 23:01:44 -06:00
LICENSE chore: add LICENSE 2022-12-26 08:03:58 -06:00
Makefile build: add clean recipe 2023-03-07 13:00:48 -06:00
pdm.lock build: update versions 2023-03-02 23:01:34 -06:00
pyproject.toml build: update versions 2023-03-02 23:01:34 -06:00
README.md chore: todo's and typos 2023-03-02 23:02:10 -06:00
setup.cfg add build/setup files 2022-12-19 23:11:12 -06:00
todo.md chore: todo's and typos 2023-03-02 23:02:10 -06:00

Viv

Logo

viv isn't venv


Setup

Start by cloning the repo and symlinking the script for access to the CLI. By default it will symlink ./src/viv/viv.py to ~/bin/viv. You can set PREFIX to symlink to a different location.

git clone git@github.com:daylinmorgan/viv.git ~/.viv
cd ~/.viv
make install # or PREFIX=~/.local/bin make install

Place this directory on the python path in your rc file.

export PYTHONPATH="$PYTHONPATH:$HOME/.viv/src"

Then in any python script with external dependencies you can add this line.

__import__("viv").activate("click")

Usage

To remove all viv venvs:

viv remove $(viv list -q)

Alternatives

  • pipx
  • pip-run