[Distutils] Mystery solved
Phillip J. Eby
pje at telecommunity.com
Tue Jul 11 00:22:24 CEST 2006
At 05:58 PM 7/10/2006 -0400, Jim Fulton wrote:
>On Jul 10, 2006, at 5:50 PM, Phillip J. Eby wrote:
>...
>>
>>>2. The messages:
>>>
>>> Couldn't find index page for 'jimtest' (maybe misspelled?)
>>> Scanning index of all packages (this may take a while)
>>>
>>> should be info messages, not warning messages. If they
>>> remain warnings, and you fix the first problem, it will be
>>> impossible to avoid the warnings without creating a PyPI
>>> project or creating an index server, and I don't think it was
>>> your intent to require either of these. I don't think a warning
>>> should be issues for correct use of software.
>>
>>Here's the problem. Reducing everything to info messages means
>>there's effectively no control over output detail. I generally use
>>'warn()' for things that *may* reflect an error in input
>>parameters. So, my take on the above is that although the
>>"Scanning" message could become an info(), the previous one shouldn't.
>
>This means that one always has to use an index. In which case, what
>is the point of find-links?
The point of --find-links is to provide links to unindexed packages.
In 0.6b4, you will be able to use 'file:' URLs for a package index, by the way.
More information about the Distutils-SIG
mailing list