Looking through several projects recently, I noticed some of them use platforms
argument to setup()
in setup.py
, though with only one value of any
, i.e.
#setup.py file in project's package folder
...
setup(
...,
platforms=['any'],
...
)
OR
#setup.py file in project's package folder
...
setup(
...,
platforms='any',
...
)
From the name "platforms", I can make a guess about what this argument means, and it seems that the list variant is the right usage.
So I googled, looked through setuptools docs, but I failed to find any explanation to what are the possible values to platforms
and what it does/affects in package exactly.
Please, explain or provide a link to explanation of what it does exactly and what values it accepts?
P.S. Also tried to provide different values to it in my OS independent package and see what changes, when creating wheels, but it seems it does nothing.