From 4f877dd62c19f94f2d0c06295ea4d9f60566b0b9 Mon Sep 17 00:00:00 2001 From: mzwiessele Date: Mon, 12 Oct 2015 10:05:59 +0100 Subject: [PATCH] [rst] unicode is a pain --- AUTHORS.txt | 2 +- README.md | 6 +++--- setup.py | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index a446ebb4..a6c2f7bc 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -1 +1 @@ -See contributors. +[Humans](https://github.com/SheffieldML/GPy/graphs/contributors) \ No newline at end of file diff --git a/README.md b/README.md index e3c2b236..f8ef8961 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # GPy -A Gaussian processes framework in Python. +The Gaussian processes framework in Python. * [GPy homepage](http://sheffieldml.github.io/GPy/) * [Tutorial notebooks](http://nbviewer.ipython.org/github/SheffieldML/notebook/blob/master/GPy/index.ipynb) @@ -46,8 +46,8 @@ With anaconda you can install GPy by the following: conda update scipy pip install gpy -We've also had luck with [enthought](http://www.enthought.com). Install scipy later or the same as -0.16 and then pip install GPy: +We've also had luck with [enthought](http://www.enthought.com). Install scipy 0.16 (or later) + and then pip install GPy: pip install gpy diff --git a/setup.py b/setup.py index e3b7e63d..35b5003c 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,9 @@ def read(fname): def read_to_rst(fname): try: import pypandoc - return pypandoc.convert(read(fname), 'rst') + rstname = "{}.{}".format(os.path.splitext(fname)[0], 'rst') + pypandoc.convert(read(fname), 'rst', rstname) + return read(rstname) except ImportError: return read(fname) @@ -91,7 +93,7 @@ ext_mods = [Extension(name='GPy.kern.src.stationary_cython', setup(name = 'GPy', version = __version__, - author = read('AUTHORS.txt'), + author = read_to_rst('AUTHORS.TXT'), author_email = "gpy.authors@gmail.com", description = ("The Gaussian Process Toolbox"), license = "BSD 3-clause",