Re:My Python Development Environment, 2018 Edition
by cpburns2009 on Thursday February 22, 2018 @01:41PM
(#16440092)
In what way is NPM and package.json different from using pip and requirements.txt?
[ Parent
| on HN ]
Re:My Python Development Environment, 2018 Edition
by zodiac on Thursday February 22, 2018 @01:58PM
(#16440304)
npm installs to a local node_modules file by default, whereas you have to set up a virtualenv or something similar to get that from pip
Re:My Python Development Environment, 2018 Edition
by masklinn on Thursday February 22, 2018 @02:15PM
(#16440472)
My understanding is that's what pipenv gives you. You call pipenv install, it creates a venv if necessary and fills it. If you want to run tools within the env, you call pipenv run {command}.