mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-29 23:17:49 +03:00 
			
		
		
		
	Merge pull request #744 from matthew-brett/py3-setup-fix
FIX: fix error for setup.py for Python 3
This commit is contained in:
		
						commit
						c1035c2832
					
				
							
								
								
									
										4
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								setup.py
									
									
									
									
									
								
							|  | @ -210,7 +210,9 @@ class pil_build_ext(build_ext): | |||
|             # if Homebrew is installed, use its lib and include directories | ||||
|             import subprocess | ||||
|             try: | ||||
|                 prefix = subprocess.check_output(['brew', '--prefix']).strip() | ||||
|                 prefix = subprocess.check_output( | ||||
|                     ['brew', '--prefix'] | ||||
|                 ).strip().decode('latin1') | ||||
|             except: | ||||
|                 # Homebrew not installed | ||||
|                 prefix = None | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user