[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Resources/best practices for making a .deb out of a virtualenv



I've used python-stdeb to make Debian packages out of standard projects, then
you can upload those packages to a PPA like on launchpad.net, and it is also
easy to get them into Debian-proper.

https://packages.debian.org/python-stdeb

Try py2deb or pypi-install from that package.

.hc


Tim Chase:
> I've got a Python project where the dependencies are
> isolated in a virtualenv and would like to package it up as a .deb
> the purposes of sharing.  Normally I'd include the additional
> libraries as straight-forward dependencies of the Debian package
> itself, but some of the required package-versions conflict with the
> stock Stable or Installation packages (e.g. Django 1.4 in Stable vs.
> 1.6 or 1.7 which are more current versions).
> 
> Are there any good resources on how to package up a virtualenv for
> distribution so that it can use more recent libraries?
> 
> (I'm not currently subscribed to the mailing list, but will if that's
> easer than just CC'ing me or Reply-All'ing me).
> 
> Thanks,
> 
> -Tim
> 
> 
> 
> 


Reply to: