6 ms·
pip + requirements file + virtualenv (virtualenvwrapper) makes the setup of an development environment really easy. With virtualenvwrapper you can hook into dif
by pirko 16y ago
pip + requirements file + virtualenv (virtualenvwrapper) makes the setup of an development environment really easy. With virtualenvwrapper you can hook into different scripts, for example when you start/switch working on a project
- alttab 16y agoRvm does well for ruby
- jordanmessina 16y agoAnd of course some asshat downvotes because you bring up ruby... I'll just point out that rvm isn't a pip for ruby. It only manages what version of ruby you're currently using and allows seamless switching. It comes in handy with ruby because of all the compatibility issues between ruby versions and rails versions. Pip is a sophisticated package manager that can be used with virtualenv to isolate where Python libraries are installed. They are indeed both good tools for development but serve different purposes.
- electrum 16y agoRVM also manages gemsets, which lets you quickly save and switch the set of installed gems (packages). You're correct that it doesn't replace gem as a package manager.
- Emouri 16y agoI've been bitten by this a few times as pypi was down. I still do this, but I'm thinking about setting up some private hosting for the libs I need.
- d0mine 16y agoyou don't need pypi to use pip.
- jjddss 16y ago"Private hosting" in this case, can be as simple as a plain-jane Apache server with some tarballs in a directory with listing turned on. Use -f to point pip to the directory. Instant private hosting. This is more or less how we publish internal libraries at work.
- fingerprinter 16y agoIs there a good step-by-step on a setup like this? I've used RVM for Ruby and that is pretty straight forward... Someone commenting on their workflow using these tools would be awesome as well.