https://github.com/declancm/virtualenv-creator
A fast and easy python virtual environment creator which allows for python version selection.
https://github.com/declancm/virtualenv-creator
python venv virtual-environment virtualenv
Last synced: 2 months ago
JSON representation
A fast and easy python virtual environment creator which allows for python version selection.
- Host: GitHub
- URL: https://github.com/declancm/virtualenv-creator
- Owner: declancm
- License: mit
- Created: 2021-12-06T02:24:35.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-02T00:28:59.000Z (over 3 years ago)
- Last Synced: 2025-03-11T22:23:25.282Z (7 months ago)
- Topics: python, venv, virtual-environment, virtualenv
- Language: Shell
- Homepage:
- Size: 56.7 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# virtualenv-creator
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.## Screenshots
### Creating a Virtualenv (in Bash)

### Using The List (in PowerShell)

## Supported Shells
### Linux
- Bash
- ZSH### Mac OS
_(in testing)_
### Windows
- PowerShell
- Windows PowerShell## Dependencies
- python3.5+
- pip/pip3
- virtualenv## Installation
1. Clone the git repo into desired directory:
```PowerShell
git clone https://github.com/declancm/virtualenv-creator.git
```2. Run the install file:
```PowerShell
python3 install.py
```## Usage
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.### Example File Tree
.
├── 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