andreped commited on
Commit
6bede5f
·
1 Parent(s): 94deb45

some encoding issue with reader, tried to use 'rb' and move decoding to later

Browse files
Files changed (1) hide show
  1. setup.py +2 -2
setup.py CHANGED
@@ -6,8 +6,8 @@ import os
6
  with open("README.md", "r") as f:
7
  long_description = f.read()
8
 
9
- with open('requirements.txt', 'r', encoding='utf-8') as ff:
10
- required = ff.read().splitlines()
11
 
12
 
13
  setup(
 
6
  with open("README.md", "r") as f:
7
  long_description = f.read()
8
 
9
+ with open('requirements.txt', 'rb') as ff:
10
+ required = ff.read().decode("utf-16").splitlines()
11
 
12
 
13
  setup(