mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-29 06:46:22 +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):
|
def read(fname):
|
||||||
import codecs
|
import codecs
|
||||||
with codecs.open('README.md', 'r', 'utf-8') as f:
|
with codecs.open(fname, 'r', 'utf-8') as f:
|
||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
def read_to_rst(fname):
|
def read_to_rst(fname):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue