] > Re: New PyLint release (Logilab.org)

Email Re: New PyLint release

from
Andreas Amoroso <a.amoroso at web dot de>
to
Sylvain Thenault <syt at logilab dot fr>
subject
Re: New PyLint release
date
2004/05/14 18:28


Sylvain Thénault schrieb am 14.05.2004 14:57:

>On Thursday 13 May à 21:24, Andreas Amoroso wrote:
>  
>
>>Hello again,
>>    
>>
>
>hello

>  
>
>>nice to see that the new release is out already. I took the opportunity 
>>to find out what the problem was that I had the last time installing 
>>PyLint. I build a binary installer using setup.py bdist_wininst and got:
>>
>>   C:\>setup.py bdist_wininst
>>   running bdist_wininst
>>   running build
>>  
>>   ...
>>  
>>   adding 'PURELIB\logilab\common\ureports\text_writer.py'
>>   adding 'PURELIB\logilab\common\ureports\__init__.py'
>>   creating dist
>>   removing 'build\bdist.win32\wininst' (and everything under it)
>>   Traceback (most recent call last):
>>     File "C:\setup.py", line 179, in ?
>>       install()
>>     File "C:\setup.py", line 163, in install
>>       stream = open(product_init, 'w')
>>   IOError: [Errno 2] No such file or directory: 
>>'build\\bdist.win32\\wininst\\PURELIB\\logilab\\__init__.py'
>>
>>Using setup.py install creates the __init__.py as expected, using the 
>>binary installer does not. Obviously, creating the binary installer on 
>>Win is/shows the problem.  This is not at all important, but using Win 
>>its still nice to install Python modules this way. Maybe it would be 
>>worth fixing it in a future release.  (You are on *nix, right?)
>>    
>>
>
>Yeah, we've no windows machine... I'll try to take a look at this.
>Anyway, I'll have to make a bug fix release soon since there is an
>annoying bug with bad method name.
>
>  
>

I knew it ;-) OK, no promise, but I'll try to find out what is wrong and
let you know. Probably half a bit in the setup.py needs to be toggled,
would be surprised if it would take much more.

>>BTW, IMHO the naming convention for the module-specific PyLint output 
>>file is - well - not what I would have chosen. Don't you think something 
>>like PyPosta.pylint.txt or even (consistent to global file name) 
>>pylint_PyPosta.txt would be nicer than PyPosta,pylint.txt?
>>    
>>
>
>well, I've to say it does'nt really matter for me. I can change this if
>you think it's better.
>
>  
>

Yep, you'd be surprised, but even on windows the current naming
convention is not really a problem. However, when you see a file name
like that the next thing you'd probably do is start your virus scanner
;-) BTW, if I had two choose I would probably pick the second
alternative (pylint_FILENAME.txt)...

>regards
>  
>

Best regards,
Andreas


P.S.: I am using a new version of Mozilla Thunderbird as mailer and am 
not absolutely sure that this message will be delivered as text only as 
intended. In case of problems - sorry for the inconvenience.


is a reply to
in thread