A fast and easy python virtual environment creator for Bash and PowerShell that:
- allows for fast virtualenv creation with easy python version selection, fast
library installation and optional automatic activation, - optional file can be created containing a list of pip libraries which can be
installed when creating a new virtualenv, - gives a list of all the virtualenvs created with this tool which the user can
select from and either activate or delete.
- Bash
- ZSH
(in testing)
- PowerShell
- Windows PowerShell
- python3.5+
- pip/pip3
- virtualenv
-
Clone the git repo into desired directory:
git clone https://github.com/declancm/virtualenv-creator.git
-
Run the install file:
python3 install.py
Enter pyvenv
into your shell to either create a virtualenv or see a list of
created virtualenvs.
A libraries.txt file can be created in the virtualenv directory (as shown in the
file tree), which will be read. List each library which will be installed on a
separate line. The script will automatically detect this file and ask if the
libraries should be installed to your new virtualenv.
. ├── data/ │ ├── Bash/ │ │ └── virtualenvList.txt │ └── PowerShell/ │ └── virtualenvList.txt ├── src/ │ ├── Bash/ │ │ ├── create.sh │ │ ├── list.sh │ │ └── pyvenv.sh │ └── PowerShell/ │ ├── create.ps1 │ ├── list.ps1 │ └── pyvenv.ps1 ├── install.py ├── libraries.txt └── README.md