[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_python



On Thu, Jul 22, 2004 at 11:43:56AM +0200, Josselin Mouette wrote:
> On mer, 2004-07-21 at 14:41 +0200, Igor Stroh wrote:
> 
> > my AM pointed me at a possible error source in dh_python:
> > the code in prerm skeleton[1] tries to delete all *.py[c|o] files
> > of the appropriate package using xargs. The command used
> > here might fail if the path of this file contains whitespaces.
> > I mean I can hardly imagine a situation where a python
> > package would contain blanks (and blanks in module names
> > wouldn't work anyway)...
> > 
> > Can anyone think of an example where whitespaces in
> > package's paths would be valid?
> 
> This is not possible in the python directories (/usr/lib/python2.x/site-
> packages). i

I'd have to check, but I think it could be achieved with a .pth file,
though I agree that this would be frowned upon. 

-- 
Alexandre Fayolle                              LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

Attachment: signature.asc
Description: Digital signature


Reply to: