diff options
author | Jonas Ohlsson <jonas.ohlsson@arm.com> | 2021-08-24 11:11:55 +0200 |
---|---|---|
committer | patrik.gustavsson <patrik.gustavsson@arm.com> | 2021-08-24 11:18:00 +0000 |
commit | 9cd45595da12573d19797368fec767545509bb97 (patch) | |
tree | 2b091e3c549da83a02c2505584a1f3b4469fd730 /setup.py | |
parent | 3b139a478693e7461281dfa80cb0a5287c721c41 (diff) | |
download | ethos-u-vela-9cd45595da12573d19797368fec767545509bb97.tar.gz |
MLBEDSW-5108 Update setup.py to fix install failures
To avoid using Python 3.6 incompatible versions of NumPy (> 1.19.5),
an upper bound on version is added for NumPy in setup.py.
Signed-off-by: Jonas Ohlsson <jonas.ohlsson@arm.com>
Change-Id: I3929bd7dbea6866905665186af1c4b3ba43ccbd0
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -91,12 +91,12 @@ setup( python_requires="~=3.6", install_requires=[ "flatbuffers==1.12.0", - "numpy>=1.16.6", + "numpy>=1.16.6,<=1.19.5", "numpy>=1.16.6,<1.19.4 ; platform_system=='Windows'", "lxml>=4.5.1", ], entry_points={"console_scripts": ["vela = ethosu.vela.vela:main"]}, ext_modules=[mlw_module], cmdclass={"build_ext": BuildExtension}, - setup_requires=["numpy>=1.16.6", "setuptools_scm"], + setup_requires=["numpy>=1.16.6,<=1.19.5", "setuptools_scm"], ) |