Re: unicode in setup.py file causing RC bug

2007-05-08 Thread Brian Sutherland
On Tue, May 08, 2007 at 05:57:19AM -0400, Kevin Coyner wrote: > #!/usr/bin/env python > # -*- coding: UTF-8 -*- > > Is this not an issue with any other python package? Still thinking > of reassigning this bug ... Looking much closer, it seems that this is indeed not the fault of your package, but

Re: unicode in setup.py file causing RC bug

2007-05-08 Thread Josselin Mouette
Le mardi 08 mai 2007 à 05:57 -0400, Kevin Coyner a écrit : > Is this not an issue with any other python package? Still thinking > of reassigning this bug ... It looks like an issue in distutils indeed. The file is opened in ASCII mode, which doesn't allow for writing Unicode text inside. You shou

Re: unicode in setup.py file causing RC bug

2007-05-08 Thread Kevin Coyner
On Tue, May 08, 2007 at 09:42:00AM +0200, Brian Sutherland wrote.. > On Mon, May 07, 2007 at 09:27:18PM -0400, Scott Kitterman wrote: > > On Monday 07 May 2007 20:43, Kevin Coyner wrote: > > Or 3. Patch setup.py to expect it. I believe if you add: > > > > # -*- encoding: utf-8 -*- > > > >

Re: unicode in setup.py file causing RC bug

2007-05-08 Thread Brian Sutherland
On Mon, May 07, 2007 at 09:27:18PM -0400, Scott Kitterman wrote: > On Monday 07 May 2007 20:43, Kevin Coyner wrote: > Or 3. Patch setup.py to expect it. I believe if you add: > > # -*- encoding: utf-8 -*- > > to the file before the unicode characters are encountered the first time, > that > s

Re: unicode in setup.py file causing RC bug

2007-05-07 Thread Scott Kitterman
On Monday 07 May 2007 22:11, Ben Finney wrote: > Scott Kitterman <[EMAIL PROTECTED]> writes: > > # -*- encoding: utf-8 -*- > > Specifically, the directive is 'coding: utf-8' inside those > delimiters. ("encoding" will work also, but only because the parsing > of that line allows it.) > Thanks. Goo

Re: unicode in setup.py file causing RC bug

2007-05-07 Thread Ben Finney
Scott Kitterman <[EMAIL PROTECTED]> writes: > # -*- encoding: utf-8 -*- Specifically, the directive is 'coding: utf-8' inside those delimiters. ("encoding" will work also, but only because the parsing of that line allows it.) -- \ "Those who will not reason, are bigots, those who cannot,

Re: unicode in setup.py file causing RC bug

2007-05-07 Thread Scott Kitterman
On Monday 07 May 2007 20:43, Kevin Coyner wrote: > I maintain the package rpl, which today received an RC bug > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422604 > > because it FTBFS in an autobuild on Lucas. > > The reason it failed is due to the use of unicode for the author's > name in t