I'd like to release a version 2 of my python project to pypi but it is not Windows compatible. The v1 is already on pypi and supports all OSes.
Is it possible to specify in the setup.py that this new release is not available on Windows ?
setup.py
In other word, all I want is pip install my-pkg to install:
pip install my-pkg
Thanks you!
You will have to write clear documentation to instruct your Windows users to call:
python -m pip install 'my-pkg<2'
1.4m articles
1.4m replys
5 comments
57.0k users