Skip to content
/ vpython Public

Run python scripts in their virtual environments.

License

Notifications You must be signed in to change notification settings

Xdynix/vpython

Repository files navigation

vPython

Run python scripts in their virtual environments.

Install

pipx install git+https://github.com/Xdynix/vpython.git

Usage

vpython some-script-in-venv.py arg1 arg2

Example

virtualenv .venv
echo 'import sys; print(sys.executable)' > main.py

vpython main.py
# It should output tht python interpreter in virtual environment.

python main.py
# It should output system python, since virtual environment is not activated.

About

Run python scripts in their virtual environments.

Topics

Resources

License

Stars

Watchers

Forks

Languages