I'm using an Azure DevOps Pipeline to build a Python project (Azure Function). I want to stick with a Windows build agent and use PowerShell to pip install packages. Doing so results in many Python wheels that are appended with win_amd64.whl or platform_system == "Windows".
The target host is Linux so I need the Python wheels to be manylinux_x86_64.whl / platform_system != "Windows".
Is there a flag I can pass pip install to specify which OS to download packages/wheels for?