mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-27 05:46:24 +02:00
[codecs] to read file
This commit is contained in:
parent
2a34414935
commit
92d3df51a5
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -43,7 +43,7 @@ import numpy as np
|
|||
|
||||
def read(fname):
|
||||
import codecs
|
||||
with codecs.open('README.md', 'r', 'utf-8') as f:
|
||||
with codecs.open(fname, 'r', 'utf-8') as f:
|
||||
return f.read()
|
||||
|
||||
def read_to_rst(fname):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue