Skip to content

Commit

Permalink
Merge pull request facebookresearch#269 from Amit-GH/master
Browse files Browse the repository at this point in the history
Adding explicit UTF-8 encoding while reading readme, license and requirements file.
  • Loading branch information
ajfisch authored May 18, 2021
2 parents 9d3ff6c + 3076b3d commit 6d7c1b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
from setuptools import setup, find_packages
import sys

with open('README.md') as f:
with open('README.md', encoding='utf8') as f:
readme = f.read()

with open('LICENSE') as f:
with open('LICENSE', encoding='utf8') as f:
license = f.read()

with open('requirements.txt') as f:
with open('requirements.txt', encoding='utf8') as f:
reqs = f.read()

setup(
Expand Down

0 comments on commit 6d7c1b7

Please sign in to comment.