Hacker News new | ask | show | jobs
by nicoburns 1222 days ago
npm has the same property of keeping the files locally, but without any need to activate/deactivate a venv. It “just works” that way by default if you “npm install”
1 comments

Once you create a venv, you can just refer to its path. I always disliked the whole activate/deactivate steps.
Agreed, using the paths makes it feel like a conventional toolchain. I haven’t tried this but it sounds like if I execute the python executable in the venv directory I get that shell. Only issue from there is writing executables that invoke the venv path in a deployable way