Is there a way to write a "config" file for the creation of a virtual environment using the virtualenv module? For example something like this with a yaml-like syntax
python_version: "3.10"
path: "./venv"
requirement_file: "requirements.txt"
post_create:
- python -c "print('hi from venv')"
Which creates a venv using python 3.10 in the directory ./venv, installs the requiremens from "requirements.txt" and then executres a python command "inside" the venv which prints "hi from venv".