mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 12:17:14 +03:00
14 lines
542 B
Diff
14 lines
542 B
Diff
|
diff --git a/setup.py b/setup.py
|
||
|
index 1a31a89..b21f975 100644
|
||
|
--- a/setup.py
|
||
|
+++ b/setup.py
|
||
|
@@ -212,7 +212,7 @@ 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
|