Skip to content

Commit

Permalink
Tentative fix for Windows --editable installs (#2541)
Browse files Browse the repository at this point in the history
  • Loading branch information
asumagic committed Jun 6, 2024
1 parent aa49eab commit 1bd75e4
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 @@ -10,10 +10,10 @@
# https://github.com/pypa/pip/issues/7953.
site.ENABLE_USER_SITE = "--user" in sys.argv[1:]

with open("README.md") as f:
with open("README.md", encoding="utf-8") as f:
long_description = f.read()

with open(os.path.join("speechbrain", "version.txt")) as f:
with open(os.path.join("speechbrain", "version.txt"), encoding="utf-8") as f:
version = f.read().strip()

setup(
Expand Down

0 comments on commit 1bd75e4

Please sign in to comment.