venv-setup/README.md
2026-02-06 09:18:42 +01:00

774 B

venv-setup

simple script to avoid redundant python venv setup

why

the project is to continue to learn deeper bash scripting and try to make a script usable for everyone via package managers like homebrew, etc...

what it does

this script does basics to start a virtual environment inside your workspace

  • create your venv and asks the name
  • adds the venv in gitignore to avoid useless commits
  • starts the venv to install packages by asking the user which ones
  • possible to run with one command (check below)

how to use

to run the script, use this command:

bash <(curl -fsSL https://raw.githubusercontent.com/buchtioof/venv-setup/main/venvsetup.sh)

be sure to use it INSIDE your workspace

(tested and works fine on Debian and macos)