cloudify-cosmo / wagon

Creates Wheel based archives to allow portable offline installation of Python packages and their dependencies
Apache License 2.0
114 stars 16 forks source link

how to set support platform to linux_x86_64? #129

Closed zsk1993 closed 4 years ago

zsk1993 commented 5 years ago

not linuxmany1_x86_64

geokala commented 4 years ago

We need to revisit the code for determining platforms supported by wheels, but at the moment this should automatically be set if you have a wheel which supports linux* but not manylinux. This is currently determined by checking the filename of the wheel.

The particular code that deals with this is: def _get_wheel_tags(wheel_name): filename, _ = os.path.splitext(os.path.basename(wheel_name)) return filename.split('-') (OK, either no indentation or no newlines- let me know if you have trouble reading this because I've wrestled with github's UI for long enough)

As I say, we need to revisit this at some point, to make it determine platform support properly, but at the moment the TLDR: Make sure at least one wheel has a platform of linux_x86_64, but not manylinux, as defined by the file name.

Please reopen this if that doesn't work for you.