python-debconf, Byte compilation and other questions

2003-04-18 Thread Tim Dijkstra
Hi, I'm trying to create a package of a program that's written in python (web2ldap). I think I already have it working OK, but having no prior python experience I have a few questions. Oh, btw, I checked the archives, and found out that some of these issues have been discussed already, but I

Re: python-debconf, Byte compilation and other questions

2003-04-18 Thread Luca - De Whiskey's - De Vitis
On Fri, Apr 18, 2003 at 10:02:39AM +0200, Tim Dijkstra wrote: 1) Should I ship .py or .pyc or both in the package. Byte-compile at install time? Ask user what to do? Ok, just saw a few other messages on this, my conclusion: Byte-compile at install time But how do I force the .py to get

Re: Bug#186916: Updated pygame

2003-04-18 Thread Kalle Olavi Niemitalo
Josselin Mouette [EMAIL PROTECTED] writes: While the documentation talks about ints, it actually reads longs, which becomes truly annoying in the case of pygame, where we use SDL_FULLSCREEN, which is 0x8000. On 32 bit arches, it gives -2147483648 for an int as well as a long. But with 64

Re: python-debconf, Byte compilation and other questions

2003-04-18 Thread Matthias Klose
Luca - De Whiskey's - De Vitis writes: On Fri, Apr 18, 2003 at 10:02:39AM +0200, Tim Dijkstra wrote: 1) Should I ship .py or .pyc or both in the package. Byte-compile at install time? Ask user what to do? Ok, just saw a few other messages on this, my conclusion: Byte-compile at install

Re: python-debconf, Byte compilation and other questions

2003-04-18 Thread Tim Dijkstra
On Fri, 18 Apr 2003 11:22:11 +0200 Luca - De Whiskey's - De Vitis [EMAIL PROTECTED] wrote: 2) I would like to use the debconf-module, but it seems there is no python priority:required, so is this module worthless? Please, be careful using debconf: you'd better read the best packaging

Re: python-debconf, Byte compilation and other questions

2003-04-18 Thread Bastian Kleineidam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 18, 2003 at 12:25:08PM +0200, Tim Dijkstra wrote: On Fri, 18 Apr 2003 11:22:11 +0200 Luca - De Whiskey's - De Vitis [EMAIL PROTECTED] wrote: file:///usr/share/doc/python/python-policy.txt.gz (that is shipped with the python package).

Re: python-debconf, Byte compilation and other questions

2003-04-18 Thread Matthias Klose
Bastian Kleineidam writes: On Fri, Apr 18, 2003 at 12:25:08PM +0200, Tim Dijkstra wrote: On Fri, 18 Apr 2003 11:22:11 +0200 Luca - De Whiskey's - De Vitis [EMAIL PROTECTED] wrote: file:///usr/share/doc/python/python-policy.txt.gz (that is shipped with the python package). Maybe

Re: python-debconf, Byte compilation and other questions

2003-04-18 Thread Donovan Baarda
On Fri, 2003-04-18 at 19:54, Matthias Klose wrote: [...] And/or take a look at dh_python, which does all this for free... BTW, where can we find this? I'd like to take a look. -- Donovan Baarda

Re: python-debconf, Byte compilation and other questions

2003-04-18 Thread Donovan Baarda
On Sat, 2003-04-19 at 08:09, Matthias Klose wrote: Bastian Kleineidam writes: On Fri, Apr 18, 2003 at 12:25:08PM +0200, Tim Dijkstra wrote: On Fri, 18 Apr 2003 11:22:11 +0200 Luca - De Whiskey's - De Vitis [EMAIL PROTECTED] wrote: file:///usr/share/doc/python/python-policy.txt.gz