Skip to content

zhiim/venvtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

venvtool

A simple tool used to manage Python venv.

It can be used to create, remove, list, activate and deactivate venv.

Installation

Download or clone this repo.

git clone https://github.com/zhiim/venvtool.git

Compile it.

mkdir build
cd build
cmake ..
make

The compiled program will appear in the out folder.

  1. In Linux

Run install.sh

bash install.sh
source /etc/profile
  1. In Windows

Run install.ps1

./install.ps1

Then restart powershell.

Usage

venvtool -h

a tool to manage venvs like conda
Usage:
  venvtool [OPTION...]

  -h, --help          Print usage
  -l, --list          List all existing venvs
  -c, --create arg    Create a new venv
  -r, --remove arg    Remove an venv
  -a, --activate arg  Activate an venv
  -d, --deactivate    Deactivate an venv