News for hackers. Stuff that matters.
Re:Python Patterns (2013) by rcarmo on Tuesday March 08, 2016 @05:59AM (#11244608)
OP here. Yes, some of the stuff we deployed was packaged as .deb files - after vendoring all the dependencies.
Re:Python Patterns (2013) by rkv on Tuesday March 08, 2016 @10:09AM (#11245638)
We usually stick to the official Debian python-* packages (if they exist upstream). When they don't we use python-virtualenv[1][2] to pull specific versions and dependencies from pip into a virtual env.

Now when we build our Debian package (debian/rules):

  override_dh_virtualenv:
    	dh_virtualenv -p myproj --use-system-packages
[1] https://github.com/spotify/dh-virtualenv [2] https://packages.debian.org/jessie/python/python-virtualenv