diff --git a/setup.py b/setup.py index db4e658..4b1e249 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,11 @@ from setuptools import setup, find_packages import re -with open('README.md') as f: +with open('README.md', encoding='utf-8') as f: long_description = f.read() version = '' -with open('discordrpc/__init__.py') as f: +with open('discordrpc/__init__.py', encoding='utf-8') as f: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1) if not version: