mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +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 |             # if Homebrew is installed, use its lib and include directories | ||||||
|             import subprocess |             import subprocess | ||||||
|             try: |             try: | ||||||
|                 prefix = subprocess.check_output(['brew', '--prefix']).strip() |                 prefix = subprocess.check_output( | ||||||
|  |                     ['brew', '--prefix'] | ||||||
|  |                 ).strip().decode('latin1') | ||||||
|             except: |             except: | ||||||
|                 # Homebrew not installed |                 # Homebrew not installed | ||||||
|                 prefix = None |                 prefix = None | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user