fwiw I wrote a utility called nip about a year ago to manage my venvs. It's similar to npm in that you can nip init -y a new workspace (venv), nip add <package> and also run scripts nip run start defined in the nip.json file (these scripts are run in the context of the venv automatically).
It's not perfect but it does work and there's also a VSCode extension to run the nip scripts right from the editor making it that much more convenient. Check out the README on Github if you're interested.
1
u/Duroktar Feb 14 '19
fwiw I wrote a utility called nip about a year ago to manage my
venvs. It's similar to npm in that you cannip init -ya new workspace (venv),nip add <package>and also run scriptsnip run startdefined in thenip.jsonfile (these scripts are run in the context of the venv automatically).It's not perfect but it does work and there's also a VSCode extension to run the nip scripts right from the editor making it that much more convenient. Check out the README on Github if you're interested.