File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 16
16
from setup_utils import parse_dependencies , ext_kwargs
17
17
18
18
19
- if sys .version_info < (3 , 7 ):
20
- install_requires = ["numpy<1.20" ]
21
- elif sys .version_info < (3 , 8 ):
22
- install_requires = ["numpy<1.22" ]
23
- elif sys .version_info < (3 , 9 ):
24
- install_requires = ["numpy<1.25" ]
25
- else :
26
- install_requires = ["numpy" ]
19
+ install_requires = [
20
+ "numpy<1.20 ; python_version < '3.7'" ,
21
+ "numpy<1.22 ; python_version >= '3.7' and python_version < '3.8'" ,
22
+ "numpy<1.25 ; python_version >= '3.8' and python_version < '3.9'" ,
23
+ "numpy ; python_version >= '3.9'" ,
24
+ "attrs" ,
25
+ "cffi" ,
26
+ "findlibs" , # TODO add lb here once released
27
+ ]
27
28
28
- install_requires += ["attrs" , "cffi" , "findlibs" ]
29
29
ext_modules = [
30
30
setuptools .Extension (
31
31
"eccodes._eccodes" ,
You can’t perform that action at this time.
0 commit comments