Re: can I package a distutil based python app in deb?



On 06/26/2011 07:59 PM, hackingKK wrote:
Hello all,
I guess the subject line says it all.
I want to package a python app to deb.
I have 3 interesting issues with it.
1, I would want it to run on Ubuntu 10.04, Ubuntu 10.10, Ubuntu 11.04
and Debian 5.
2, the package depends on another python package which is also distutil
based.
3, The second package needs to run in a virtual environment.
This means that I not only have to figure out the dependencies but also
have the deb to include a script to get the virtual environment script,
then create one for the package, then download all dependencies (Pylons
0.9.7 in this case along with report lab) and finally put the package
into this virtual environment.
Is this all possible?

Yes, it is possible. Refer to <http://www.debian.org/devel/>,
particularly the New Maintainer's Guide:
<http://www.debian.org/doc/manuals/maint-guide/>


.



Relevant Pages

  • Re: apt dying with "Failed to exec method /usr/lib/apt/methods/"
    ... deb http://ftp.us.debian.org/debian/ unstable main contrib non-free ... #deb http://ftp.us.debian.org/debian/ squeeze-updates main ... Presumably it gets automatically generated based on new package info ... then I decided to try plain apt-get update ...
    (Debian-User)
  • APT Strange Behaviour (Priorities)
    ... deb http://security.debian.org/ etch/updates main contrib non-free ... Pin: version 1.5.0-08-1.1 ... Pin-Priority: 1001 ... Package: sun-java5-demo ...
    (Debian-User)
  • Re: Lost all my recipes
    ... Core and Redhat derived distributions. ... Both RPM and .deb are available on SourceForge. ... about a minute to download and install, ... by SPM I meant Synaptic Package Manager. ...
    (rec.food.cooking)
  • pinning not working
    ... deb http://security.debian.org/ lenny/updates main contrib non-free ... deb http://ftp.us.debian.org/debian sid main contrib non-free ... Package: * ...
    (Debian-User)
  • Aptitude, upgrade and pinning
    ... deb http://ftp.it.debian.org/debian/ testing main contrib non-free ... deb-src http://ftp.it.debian.org/debian/ testing main contrib non-free ... Package: * ... Pin-Priority: 990 ...
    (Debian-User)