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

2015-01-07 Thread Hans-Christoph Steiner

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
 
 
 
 


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54ad28c1.5060...@at.or.at



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

2014-12-31 Thread 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




-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141231132133.7dfcd...@bigbox.christie.dr



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

2014-12-31 Thread Donald Stufft

 On Dec 31, 2014, at 2:21 PM, Tim Chase deb...@tim.thechases.com wrote:
 
 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).
 

I’ve used https://github.com/spotify/dh-virtualenv in the past and it worked 
well.

---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/a9ef950f-ca8b-40e0-9c24-948cdbe2c...@stufft.io