On Fri, Aug 16, 2019 at 3:53 AM Chris Jerdonek <[email protected]>
wrote:

> On Fri, Aug 16, 2019 at 2:30 AM Michael Felt aka aixtools <
> [email protected]> wrote:
>
>> From my playing with devpi-server I expect it goes something like what
>> the devpi(-client) list command does - to see what is available, and from
>> that chooses something.
>>
>> Does pip depend on the CPython get_platform(), or is there a "pip owned
>> and managed" version that basically overrules the distutils (and
>> sys.get_platform()) implementations?
>>
>
> I'm sure others will chime in with more info. But quickly, on the second
> part, the function that pip uses to generate the list of compatible tags
> (for choosing among wheels) is the get_supported() function in pip's
> pep425tags.py:
> https://github.com/pypa/pip/blob/76ae377d7e38b5df8587d63b52464a08471eb1d1/src/pip/_internal/pep425tags.py#L279
>
> The latest version of pip has a new "pip debug" command that displays,
> along with other info, the resulting list of tags for the environment under
> which the command is run (by calling that function).
>

Also, I believe the plan is for pep425tags.py to be replaced by this module
(but it's not incorporated into pip yet):
https://github.com/pypa/packaging/blob/master/packaging/tags.py

--Chris



>
> --Chris
>
>
>>
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "pypa-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pypa-dev/826d4a1e-73a7-46cd-bed0-572b202ad4e6%40googlegroups.com
>> <https://groups.google.com/d/msgid/pypa-dev/826d4a1e-73a7-46cd-bed0-572b202ad4e6%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pypa-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pypa-dev/CAOTb1wfKTALi6V6OFDpbYw73DtRaJ6uA7pFzd%3Dm0QZxmSjcN_g%40mail.gmail.com.

Reply via email to