Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'package,': 0.03; 'ubuntu': 0.04; 'script,': 0.07; 'subject:based': 0.07; 'python': 0.08; 'subject:python': 0.14; 'subject:app': 0.16; 'subject:package': 0.16; 'figure': 0.21; 'debian': 0.23; 'says': 0.25; 'guess': 0.28; 'depends': 0.28; 'all,': 0.28; 'script': 0.29; 'possible?': 0.29; 'environment': 0.29; 'second': 0.29; 'environment.': 0.30; 'received:192.168.1.3': 0.30; 'subject:?': 0.31; 'message- id:@gmail.com': 0.32; 'it.': 0.33; 'header:User-Agent:1': 0.34; 'to:addr:python-list': 0.34; 'all.': 0.35; 'app': 0.35; 'received:74.125.83.174': 0.37; 'received:mail- pv0-f174.google.com': 0.37; 'received:google.com': 0.37; 'but': 0.37; 'another': 0.38; 'received:192': 0.38; 'subject:can': 0.38; 'put': 0.38; 'run': 0.39; 'received:192.168.1': 0.39; 'to:addr:python.org': 0.39; 'case': 0.40; 'received:74.125': 0.40; 'would': 0.40; 'subject': 0.62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=5WKUJ0svaIcv355+alpB9SUKqx03vp8OGpNdvDK5g3g=; b=X42fNQmFi5wcx2cCjodv13l6j0vQUUyAhgQm8DL/ifKIctHtjxjTNFRpaHdEpbBMW7 H0x1LLIbICN+mkVInQWnl1ifoxQ+PTbBj4QdOWluBO3v96rYD4I0UVT92o97gHrSbwtO LdKjY/9xEZtoIhFn39RW3NMENFUjNdEfem87Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=aQ1gsTTo221jRo2/hOswTd/CJbCo0v1r3/JDm9ohrLELe9XudfYsKgyyNJ+NGy1r5x +85phFn3PmVMd3RkIV9aieKfOSkUJDcwnIAjLPxpUzd0WeIR3/34gAK0tUCWFkqUAf9X uo4W/S7qDsmReqt5g+tqqGBRAKsXD/kfBD67c= Date: Sun, 26 Jun 2011 23:29:24 +0530 From: hackingKK User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: python-list@python.org Subject: can I package a distutil based python app in deb? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1309111177 news.xs4all.nl 4371 [::ffff:82.94.164.166]:43682 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8474 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? Happy hacking. Krishnakant.