mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-05 14:55:15 +02:00
[setup]
This commit is contained in:
parent
0e1816da44
commit
dc37c8ca23
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
|
@ -44,11 +44,11 @@ import numpy as np
|
|||
def read(fname):
|
||||
try:
|
||||
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
|
||||
return unicode(f.read())
|
||||
return unicode(f.read(), 'utf-8')
|
||||
except NameError:
|
||||
#python 3
|
||||
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
|
||||
return (f.read())
|
||||
return unicode(f.read(), 'utf-8')
|
||||
|
||||
def read_to_rst(fname):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue