diff --git a/setup.cfg b/setup.cfg index 308d321..840860f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -35,12 +35,16 @@ install_requires = numpy==1.19.2; python_version=='3.7' and platform_machine=='aarch64' numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64' + # arm64 on Darwin supports Python 3.8 and above requires numpy>=1.20.0 + numpy==1.20.0; python_version=='3.8' and platform_machine=='arm64' and platform_system=='Darwin' + numpy==1.20.0; python_version=='3.9' and platform_machine=='arm64' and platform_system=='Darwin' + # default numpy requirements numpy==1.13.3; python_version=='3.5' and platform_machine!='aarch64' and platform_system!='AIX' numpy==1.13.3; python_version=='3.6' and platform_machine!='aarch64' and platform_system!='AIX' and platform_python_implementation != 'PyPy' numpy==1.14.5; python_version=='3.7' and platform_machine!='aarch64' and platform_system!='AIX' and platform_python_implementation != 'PyPy' - numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64' and platform_python_implementation != 'PyPy' - numpy==1.19.3; python_version=='3.9' and platform_python_implementation != 'PyPy' + numpy==1.17.3; python_version=='3.8' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64' and platform_python_implementation != 'PyPy' + numpy==1.19.3; python_version=='3.9' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_python_implementation != 'PyPy' numpy==1.19.0; python_version=='3.6' and platform_python_implementation=='PyPy' numpy==1.20.0; python_version=='3.7' and platform_python_implementation=='PyPy'