Skip to content

Commit

Permalink
setup: Use utf-8 encoding while reading readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
c0r0n3r committed Apr 6, 2019
1 parent c10b325 commit b27af5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import codecs
import os
import unittest

Expand All @@ -10,7 +11,7 @@
with open(os.path.join(this_directory, 'requirements.txt')) as f:
install_requirements = f.read().splitlines()
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.rst')) as f:
with codecs.open(os.path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()


Expand Down

0 comments on commit b27af5a

Please sign in to comment.