On 3 October 2014 15:29, Wichert Akkerman <[email protected]> wrote:
>
>> On 03 Oct 2014, at 16:24, Nick Coghlan <[email protected]> wrote:
>> 2. Easily allow package authors to tell PyPI "my releases are hosted
>> <here>" and have that advertised in such a way that tools can clearly
>> communicate it to users, without silently introducing unexpected
>> dependencies on third party services.
>
> I haven’t read the PEP, so this might be a stupid remark, but: is that
> needed, when a package author can also say something like “add my repository
> to your system with pip —add-repository <url>” ?
The logic is that if I say
pip install foo
and foo is not hosted on PyPI, I get an error saying "cannot find
foo". The quoted point is saying that we want a way for the author of
foo to add metadata to PyPI that lets pip give a more helpful message:
pip install foo
ERROR: No downloads for package 'foo' found.
foo is hosted at the following repositoties:
Main repository - http://foo.example.com/simple/
Windows wheels - http://wheels.foo.example.com/simple/
Use --index-url to specify the repository you wish to use.
(Or something like that...)
Paul
_______________________________________________
Distutils-SIG maillist - [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig