$pythons = @(
    $env:LOCALAPPDATA + '\Programs\Python\Python36\python.exe'
    $env:LOCALAPPDATA + '\Programs\Python\Python37\python.exe'
    $env:LOCALAPPDATA + '\Programs\Python\Python38\python.exe'
    $env:LOCALAPPDATA + '\Programs\Python\Python39\python.exe'
    $env:LOCALAPPDATA + '\Programs\Python\Python310\python.exe'
)

Foreach ($python in $pythons) {
    & $python -m pip install cython wheel pycryptodomex>=3.11.0 matplotlib
    & $python .\setup.py bdist_wheel
}