Removed
Link Here
|
1 |
--- setup_lz4.py.orig 2017-12-30 09:14:25 UTC |
2 |
+++ setup_lz4.py |
3 |
@@ -24,7 +24,7 @@ def lz4_system_prefix(prefixes): |
4 |
for prefix in prefixes: |
5 |
filename = os.path.join(prefix, 'include', 'lz4.h') |
6 |
if os.path.exists(filename): |
7 |
- with open(filename, 'r') as fd: |
8 |
+ with open(filename, 'r', encoding='utf-8') as fd: |
9 |
if 'LZ4_compress_default' in fd.read(): # requires lz4 >= 1.7.0 (r129) |
10 |
return prefix |
11 |
|
12 |
- |