Commit 599c75c5 authored by Samuel GAIST's avatar Samuel GAIST

[setup] Use open from the io package

This version of open is available on both recent versions python 2 and
python 3 and allows to set the encoding to use when reading the file.
parent 877e33ad
......@@ -26,7 +26,7 @@
###############################################################################
from setuptools import setup, find_packages
from io import open
def load_requirements(f):
retval = [str(k.strip()) for k in open(f, 'rt', encoding='utf8')]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment