Re: current python-only packages and new policy

2006-07-08 Thread Raphael Hertzog
Hi,

On Thu, 06 Jul 2006, Mike Hommey wrote:
> I'm writing because the New Policy is not very verbose on building a
> package for only the current version of python.
> 
> First, why would i need to build-dep on python-all-dev when python-dev
> is enough ?

You don't need to build-dep on python-all-dev if you build only for the
current version.

> Second, why would i need to use python-central or python-support when
> there's only one supported version of python ?

Because they will re-bytecompile the .py files when the curren python
version changes (but this is only useful for packages without extension of
course).

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: new policy with only-one-python-script package

2006-07-08 Thread Raphael Hertzog
On Sat, 08 Jul 2006, Carlos Z.F. Liu wrote:
> Hello,
> 
> My gnochm package contain only one python script under /usr/bin, no
> modules, no extensions. So I don't need python-support and
> python-central. If pycompat=1, dh_python will replace ${python:Depends}
> with "python (>= 2.3), python (<< 3)"; If pycompat=2 without pyversions
> setting, it will be "python" only. Shoud I use this result in my next
> upload? Do I need to set pyversions manually? 

The "python" dependency is the good dependency. If you have a minimum
python version required, then you need to create debian/pyversions
file like "2.3-" and you will get a "python (>= 2.3)" dependency.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: new policy with only-one-python-script package

2006-07-08 Thread Carlos Z.F. Liu
On Sat, Jul 08, 2006 at 01:57:10PM +0200, Raphael Hertzog wrote:
> On Sat, 08 Jul 2006, Carlos Z.F. Liu wrote:
> > Hello,
> > 
> > My gnochm package contain only one python script under /usr/bin, no
> > modules, no extensions. So I don't need python-support and
> > python-central. If pycompat=1, dh_python will replace ${python:Depends}
> > with "python (>= 2.3), python (<< 3)"; If pycompat=2 without pyversions
> > setting, it will be "python" only. Shoud I use this result in my next
> > upload? Do I need to set pyversions manually? 
> 
> The "python" dependency is the good dependency. If you have a minimum
> python version required, then you need to create debian/pyversions
> file like "2.3-" and you will get a "python (>= 2.3)" dependency.
> 
Thanks for clarify that.

--
 Best Regards,
 Carlos


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



What GUI lib to choose: GTK, TK, WX, QT, other?

2006-07-08 Thread Sandro Tosi

Hi all,
I'm almost new to python and I'm even almost sure that this could be
not the right place where ask this, but we do have in common the
interest in Debian and the interest in Python, so I'll do the same...
:))

Since I would use python for some new projects, and I'd like to have
them graphical, I'm wondering what is the best gui to choose.

I've seen that tk would be the easier (but even a bit unpretty) to
embrace, wx would be the more portable, etc.

I'd like to hear from you what each library would offer regarding
portability, easy development/usage, beautifullness in the resulting
app, etc.

Thanks in advance,
Sandro

--
Sandro Tosi (aka Morpheus, matrixhasu)
My (little) site: http://matrixhasu.altervista.org/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]