Skip to content
/ venvup Public

Bash script to set up a Python virtual environment (venv) in the current directory.

License

Notifications You must be signed in to change notification settings

wmelvin/venvup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

venvup

venvup is a bash script that creates a Python virtual environment (venv) in the current directory. It also installs requirements via pip if a requirements.txt and/or a requirements-dev.txt file is found.

The script was built to run on Linux and has only been used by the author on Ubuntu (and flavours thereof).

It assumes using venv to create a virtual environment with the name venv, not .venv.

If an argument is passed when running the script, it is used as a prefix in naming the prompt for the venv. Only the first argument is used. For example, if you run venvup test the prompt will be (test-venv) when the virtual environment is activated.

Links

venv - Creation of virtual environments - Python documentation

terminal - List of ANSI color escape sequences - Stack Overflow

About

Bash script to set up a Python virtual environment (venv) in the current directory.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages