forked from popwe/py_scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvirtualenv_install.bat
More file actions
21 lines (20 loc) · 853 Bytes
/
virtualenv_install.bat
File metadata and controls
21 lines (20 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@ECHO OFF
:: Performs necessary setup steps to allow the use of
:: virtualenv commands such as "mkvirtualenv [ENV_NAME]"
:: for creating and using Python virtual environments.
python -m pip install --upgrade virtualenvwrapper-win
echo:
echo:
echo: *** You may now use virtualenv commands in your command shell. ***
echo:
echo: virtualenv commands:
echo: * "mkvirtualenv [ENV_NAME]" - Create a Python virtual environment
echo: * "deactivate" - Exit the current virtual environment
echo: * "workon [ENV_NAME]" - Enter an existing virtual environment
echo: * "lsvirtualenv" OR "workon" - List all virtual environments
echo: * "rmvirtualenv [ENV_NAME]" - Delete a virtual environment
echo:
echo: Example:
echo: mkvirtualenv seleniumbase
echo: mkvirtualenv seleniumbase --python=[PATH_TO_PYTHON]
echo: