Skip to content

Commit

Permalink
using io.open in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ranaroussi committed Aug 23, 2019
1 parent 2c73e79 commit fa8320c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
"""Yahoo! Finance market data downloader (+fix for Pandas Datareader)"""

from setuptools import setup, find_packages
from codecs import open
# from codecs import open
import io
from os import path

here = path.abspath(path.dirname(__file__))

# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
with io.open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()

setup(
Expand Down

0 comments on commit fa8320c

Please sign in to comment.