Added
Link Here
|
0 |
- |
1 |
+++ setup_lz4.py |
|
|
2 |
@@ -24,7 +24,7 @@ |
3 |
for prefix in prefixes: |
4 |
filename = os.path.join(prefix, 'include', 'lz4.h') |
5 |
if os.path.exists(filename): |
6 |
- with open(filename, 'r') as fd: |
7 |
+ with open(filename, 'r', encoding='utf-8') as fd: |
8 |
if 'LZ4_compress_default' in fd.read(): # requires lz4 >= 1.7.0 (r129) |
9 |
return prefix |
10 |
|