Merge pull request #16 from an-death/platform-independent-encoding-on-setup
Platform independent encoding on setup.py
This commit is contained in:
commit
7d51850046
4
setup.py
4
setup.py
|
@ -1,9 +1,9 @@
|
|||
from setuptools import setup
|
||||
|
||||
with open("README.md") as f:
|
||||
with open("README.md", encoding="utf8") as f:
|
||||
readme = f.read()
|
||||
|
||||
with open("aioitertools/__init__.py") as f:
|
||||
with open("aioitertools/__init__.py", encoding="utf8") as f:
|
||||
for line in f:
|
||||
if line.startswith("__version__"):
|
||||
version = line.split('"')[1]
|
||||
|
|
Loading…
Reference in New Issue