We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbd017a commit aeaec26Copy full SHA for aeaec26
setup.py
@@ -1,19 +1,20 @@
1
# -*- coding: utf-8 -*-
2
+import io
3
from setuptools import setup
4
5
6
def read_files(files):
7
data = []
8
for file in files:
- with open(file, encoding='utf-8') as f:
9
+ with io.open(file, encoding='utf-8') as f:
10
data.append(f.read())
11
return "\n".join(data)
12
13
14
long_description = read_files(['README.md', 'CHANGELOG.md'])
15
16
meta = {}
-with open('./src/dotenv/version.py', encoding='utf-8') as f:
17
+with io.open('./src/dotenv/version.py', encoding='utf-8') as f:
18
exec(f.read(), meta)
19
20
setup(
0 commit comments