File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11[build-system ]
22requires  = [
3-     " packaging==20.5 ; platform_machine=='arm64'"  ,   #  macos M1 
3+     " packaging>=21.0 ; platform_machine=='arm64'"  ,
44    " setuptools"  ,
55    " wheel"  ,
6-     " Cython>=0.29.22 ,<3.0"  ,   #  Note: keep in sync with tools/cythonize.py 
6+     " Cython>=0.29.24 ,<3.0"  ,
77    " numpy==1.16.6; python_version<='3.7'"  ,
88    " numpy==1.17.5; python_version=='3.8'"  ,
99    " numpy==1.19.5; python_version=='3.9'"  ,
Original file line number Diff line number Diff line change 11numpy >= 1.14 
2- cython >= 0.29.22  
2+ cython >= 0.29.24  
33setuptools 
44wheel 
Original file line number Diff line number Diff line change 2525        raise  ImportError ("tempita required to install, use pip install tempita" )
2626
2727with  open ("requirements.txt" ) as  f :
28-     required  =  f .read ().splitlines ()
28+     setup_required  =  f .read ().splitlines ()
29+ install_required  =  [pkg  for  pkg  in  setup_required  if  "numpy"  in  pkg ]
2930
3031CYTHON_COVERAGE  =  os .environ .get ("RANDOMGEN_CYTHON_COVERAGE" , "0" ) in  (
3132    "true" ,
@@ -384,6 +385,7 @@ def is_pure(self):
384385        "RDRAND" ,
385386    ],
386387    zip_safe = False ,
387-     install_requires = required ,
388+     install_requires = install_required ,
389+     setup_requires = setup_required ,
388390    python_requires = ">=3.6" ,
389391)
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments