Per-platofrm scopes in pyproject.toml
phil at riverbankcomputing.com
Tue Oct 6 21:31:23 BST 2020
On 06/10/2020 19:09, Patrick Stinson wrote:
> 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", "_pkdiagram_mac.mm" ]
Plenty of examples here...
More information about the PyQt