[Distutils] error message from testpypi.python.org

Chris Jerdonek chris.jerdonek at gmail.com
Thu Jan 23 10:50:03 CET 2014


On Thu, Jan 23, 2014 at 1:42 AM, Thomas Heller <theller at ctypes.org> wrote:
> Am 23.01.2014 10:05, schrieb Paul Moore:
>
>> On 23 January 2014 08:28, Thomas Heller <theller at ctypes.org> wrote:
>>>
>>> I'm trying out to submit a wheel to testpypi.python.org and then
>>> install it from there with pip.  It doesn't work; what does the
>>> following error message mean?
>>>
>>> c:\>py -3.4 -m pip install py2exe -r https://testpypi.python.org/pypi/
>>
>>
>> The flag -r is for a requirements file. Did you mean -i (--index-url)?
>
>
> Sure - thanks for that, now it works.
> My only excuse is that setup.py uses the -r flag for that purpose...

Well, that and the fact that the resulting error didn't seem to be of
much help in pointing you in the right direction.  I wonder if it
could have failed earlier with a more helpful message.

--Chris


More information about the Distutils-SIG mailing list