mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	scanner: replace deprecated imghdr with libmagic/puremagic
libmagic's Python bindings detect more types, puremagic is pure Python.
imghdr was dropped in Python 3.13.
This reverts commit 3bc246ccad.
			
			
This commit is contained in:
		
							parent
							
								
									432618eb03
								
							
						
					
					
						commit
						8a5359ab3f
					
				
					 2 changed files with 12 additions and 3 deletions
				
			
		
							
								
								
									
										1
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								setup.py
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -100,6 +100,7 @@ setup(
 | 
			
		|||
        'paramiko',
 | 
			
		||||
        'Pillow',
 | 
			
		||||
        'apache-libcloud >= 0.14.1',
 | 
			
		||||
        'puremagic',
 | 
			
		||||
        'python-vagrant',
 | 
			
		||||
        'PyYAML',
 | 
			
		||||
        'qrcode',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue