Skip to content

Commit

Permalink
Fix reference to readme filename.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwt committed Jan 18, 2019
1 parent f3a995b commit f667ffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ def readme():
from subprocess import CalledProcessError
try:
from subprocess import check_output
return str(check_output(['pandoc', '--from', 'markdown', '--to', 'rst', os.path.join(here, 'README.md')]), 'utf8')
return check_output(['pandoc', '--from', 'markdown', '--to', 'rst', os.path.join(here, 'Readme.md')]).decode('utf8')
except (ImportError, OSError, CalledProcessError) as error:
print('python2.6 and pandoc is required to get the description as rst (as required to get nice rendering in pypi) - using the original markdown instead.',
'See http://johnmacfarlane.net/pandoc/')
return str(open(os.path.join(here, 'README.md')).read())
return str(open(os.path.join(here, 'Readme.md')).read())

setup_args = dict(
name='fluentpy',
Expand Down

0 comments on commit f667ffd

Please sign in to comment.