mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
converting .md to .rst automatically now
This commit is contained in:
parent
aebebd561d
commit
9758001d02
1 changed files with 2 additions and 1 deletions
3
setup.py
3
setup.py
|
|
@ -14,7 +14,8 @@ def read_to_rst(fname):
|
|||
try:
|
||||
import pypandoc
|
||||
#print 'Warning in installation: For rst formatting in pypi, consider installing pypandoc for conversion'
|
||||
return pypandoc.convert('README.md', 'rst')
|
||||
with open('README.rst', 'w') as f:
|
||||
f.write(pypandoc.convert('README.md', 'rst'))
|
||||
except:
|
||||
return read(fname)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue