News for hackers. Stuff that matters.
Re:Python Ecosystem - An Introduction by e1ven on Monday November 28, 2011 @11:53AM (#3286578)
pip is a neat system and all, but I still don't see why to use that versus a system package?
Re:Python Ecosystem - An Introduction by timtadh on Monday November 28, 2011 @12:25PM (#3286709)
Updating the source package is easier for one. Ubuntu's packages are often out of date, especially if you are running an LTS. It also integrates nicely with virtualenv which makes managing dependencies easier, via pip freeze.
Re:Python Ecosystem - An Introduction by politai on Monday November 28, 2011 @12:27PM (#3286724)
System package's availability vary a lot with the distribution you're using. For instance I use Debian and my web hosting provider is based on CentOS and share my REQUIREMENTS.txt file.I can't really depend on the packages being available on every distro's repository, let alone the same version.

Also, I wouldn't like to install some packages system-wide (a friend's personal project from a github repository) so I use pip and virtualenv in a similar manner as the article recommends to maintain a per project dependency library.

That's how I see it :)

Re:Python Ecosystem - An Introduction by freyrs3 on Monday November 28, 2011 @12:24PM (#3286704)
System packages install globally, pip can install globally or inside a virtualenv.
Re:Python Ecosystem - An Introduction by mark_story on Monday November 28, 2011 @01:05PM (#3286871)
System packages are going to miss some package that exists in pypi. Using pip is also good if your company maintains their own internal toolsets, and want to be able to easily reuse those across multiple applications.
Re:Python Ecosystem - An Introduction by brndnhy on Monday November 28, 2011 @02:03PM (#3287119)
virtualenv can't isolate your system's package util like it can isolate pip.
Re:Python Ecosystem - An Introduction by c4urself on Monday November 28, 2011 @12:57PM (#3286846)
if you have multiple projects on a system you may have different dependency requirements. module with version 1 for one project and the same module with version 2 for the other project.
Re:Python Ecosystem - An Introduction by d0mine on Monday November 28, 2011 @01:16PM (#3286926)
pkg_resources.require() can handle this case. Though `virtualenv` is more explicit.