Use pew, not virtualenvwrapper, for Python virtualenvs
11–20 of 57 posts
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#12FD: I'm the author
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#13Earlier quoted context omitted.
You can use virtualenv without `bin/activate`. Just refer to `bin/python` (and other scripts in `bin/`) explicitly. Don't bring in the magic until you need it. And when you need it, consider what kind of magic you need. If you're typing `bin/` too much, do you need something that adds `bin/` to your path, or do you need to write a script for this task that saves you from having to type both `bin/` and a bunch of othe…
How do you manage dependencies? One of the best parts about virtualenv (to me at least) is that I can do pip install without infecting the rest of the system. I guess I've never looked, does virtualenv provides a bin/pip which already knows the path of the virtualenv? Does the bin/python in there come with a path that uses the project pip install?
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#14Earlier quoted context omitted.
You can use virtualenv without `bin/activate`. Just refer to `bin/python` (and other scripts in `bin/`) explicitly. Don't bring in the magic until you need it. And when you need it, consider what kind of magic you need. If you're typing `bin/` too much, do you need something that adds `bin/` to your path, or do you need to write a script for this task that saves you from having to type both `bin/` and a bunch of othe…
How do you manage dependencies? One of the best parts about virtualenv (to me at least) is that I can do pip install without infecting the rest of the system. I guess I've never looked, does virtualenv provides a bin/pip which already knows the path of the virtualenv? Does the bin/python in there come with a path that uses the project pip install?
I would only use 'bin/python' directly from scripts called from cron, or other similar places.
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#15Why not use conda?
Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#16Re: Use pew, not virtualenvwrapper, for Python virtualenvs
#17What 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…