Per-platofrm scopes in pyproject.toml

Patrick Stinson patrickkidd at
Tue Oct 6 19:09:05 BST 2020

How does one specify which platform a setting is for in pyproject.toml? I can’t find this in the sip docs or PRP 518 spec.

For example, I have a module source file that is only for Mac, and another for windows, something like:

sources = [ "unsafearea.cpp", "_pkdiagram.cpp", "_pkdiagram_win32.cpp" ]

sources = [ "unsafearea.cpp", "_pkdiagram.cpp", "" ]


More information about the PyQt mailing list