On Wed, Aug 21, 2019 at 3:36 PM Michael Felt aka aixtools < aixto...@gmail.com> wrote:
> And, e.g., for cffi, it creates a wheel with this file name: > cffi-1.12.3-cp37-cp37m-aix_6_1.whl > ... > Sadly, the name of the wheels it creates have not changed. I have not had > any success (or luck) finding the logic that generates the filename for a > new wheel. > How are you generating your wheels? You might want to read this: https://pip.pypa.io/en/stable/user_guide/#installing-from-wheels I'm not 100% sure, but the code for that might be here: https://github.com/pypa/wheel That project also has a copy of pip's pep425tags.py file. --Chris > > Some pointers would be greatly appreciated. > > Michael > > > On Friday, August 16, 2019 at 4:06:35 PM UTC+1, Michael Felt aka aixtools > wrote: >> >> On 16/08/2019 13:08, Chris Jerdonek wrote: >> > On Fri, Aug 16, 2019 at 3:53 AM Chris Jerdonek >> > wrote: >> Thanks for both replies. I'll dig further (later). >> >> On Fri, Aug 16, 2019 at 2:30 AM Michael Felt aka aixtools < >> >> 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 pypa-dev+unsubscr...@googlegroups.com. >> >>> 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 pypa-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pypa-dev/66e12809-de41-4a41-ab9d-51c259987594%40googlegroups.com > <https://groups.google.com/d/msgid/pypa-dev/66e12809-de41-4a41-ab9d-51c259987594%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 pypa-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pypa-dev/CAOTb1weAKioqNRx%3DWxS4fU5ww%3DjHRSXNWbeUP5ct4LnL32JkfQ%40mail.gmail.com.