Having recently looked at several projects, I noticed that some of them use the platforms argument for setup() in setup.py , although with only one value of any , i.e.
#setup.py file in project package folder ... setup( ..., platforms=['any'], ... )
OR
#setup.py file in project package folder ... setup( ..., platforms='any', ... )
On behalf of the platform, I can guess what this argument means, and it seems that the list option is the correct use.
So, I googled, looked through setuptools docs , but I could not find an explanation of the possible values of platforms and that it really / affects the package exactly.
Please explain or provide a link to explain what it does exactly and what values does it take?
PS I also tried to provide various values in my OS-independent package and see what changes were made when creating the wheels, but it seems that it does nothing.
python setuptools pypi setup.py python-wheel
Nikita
source share