Skip to content

Commit b5e4042

Browse files
kevinsungbabbush
authored andcommitted
fix readme encoding issue (#35)
1 parent 9a71a5c commit b5e4042

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
import io
2+
13
from setuptools import setup, find_packages
24

35
# This reads the __version__ variable from openfermionpyscf/_version.py
46
exec(open('openfermionpyscf/_version.py').read())
57

68
# Readme file as long_description:
7-
long_description = open('README.rst').read()
9+
long_description = io.open('README.rst', encoding='utf-8').read()
810

911
# Read in requirements.txt
1012
requirements = open('requirements.txt').readlines()

0 commit comments

Comments
 (0)