As someone who is finally getting into Python development (via Django) after following tons of tutorials over several years: should I be using pew, virtualenvwrapper, or something else? This article is from 2015, how relevant is it today?
Use pew, not virtualenvwrapper, for Python virtualenvs
21–30 of 57 posts
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#22As someone who is finally getting into Python development (via Django) after following tons of tutorials over several years: should I be using pew, virtualenvwrapper, or something else? This article is from 2015, how relevant is it today?
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#23For those just starting Python, I'd say just go with virtualenv. It works, it's common, and there are tons of tutorials about it. Don't feel bad about using the old mediocre libraries. And in general, learning basics isn't embarrassing.
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#24As someone who is finally getting into Python development (via Django) after following tons of tutorials over several years: should I be using pew, virtualenvwrapper, or something else? This article is from 2015, how relevant is it today?
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#25The preferred environment for Python development and deployment changes more than the latest trend in JavaScript frameworks.
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#26What I really want is to be able to type " foo.py", where creates a list of all necessary dependencies to run foo.py. Then " run foo.py" would automatically do whatever voodoo needs to be done to run foo.py regardless of where you run that command. The idea is that we all have global pip installations, which is great for hacking. I have a ton of Python scripts that depend on my pip installs. All my scripts run succes…
You could come up with a half baked decent try by using the ast module to find foo.py deps and indexing pypi for provided package names. Complexity lies in where package names might intersect, but this is a half baked try after all.
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#27As someone who is finally getting into Python development (via Django) after following tons of tutorials over several years: should I be using pew, virtualenvwrapper, or something else? This article is from 2015, how relevant is it today?
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#28Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#29Why not use pyenv + pyenv-virtualenv ? https://github.com/pyenv/pyenv https://github.com/pyenv/pyenv-virtualenv