Skip to content

Commit a2f31fc

Browse files
authored
fix: add explicit encoding to setup.py file for wheel build (#102)
1 parent 09499ac commit a2f31fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
# from official Python version-detection recommendations: https://packaging.python.org/guides/single-sourcing-package-version/
55

6-
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'deepgram', '_version.py')) as file:
6+
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'deepgram', '_version.py'), encoding="utf8") as file:
77
exec(file.read())
88
# imports as __version__
99

10-
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md')) as file:
10+
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md'), encoding="utf8") as file:
1111
long_description = file.read()
1212

1313
setuptools.setup(

0 commit comments

Comments
 (0)