Skip to content

Commit

Permalink
fix: add explicit encoding to setup.py file for wheel build (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-g committed Jul 13, 2023
1 parent 09499ac commit a2f31fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

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

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

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

setuptools.setup(
Expand Down

0 comments on commit a2f31fc

Please sign in to comment.