From d3ce255cbe3bc1654b12586f7a7f5099b8064e01 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Sun, 8 Nov 2015 10:48:29 +0000 Subject: [PATCH] Have pypi show the link to github rendering of the rst file is way too strict to fuzz about with. --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 93ec9ef9..1bb85cd9 100644 --- a/setup.py +++ b/setup.py @@ -57,6 +57,8 @@ def read_to_rst(fname): except ImportError: return read(fname) +read_to_rst('README.md') + version_dummy = {} exec(read('GPy/__version__.py'), version_dummy) __version__ = version_dummy['__version__'] @@ -137,7 +139,7 @@ setup(name = 'GPy', include_package_data = True, py_modules = ['GPy.__init__'], test_suite = 'GPy.testing', - long_description=read_to_rst('README.md'), + long_description='https://github.com/SheffieldML/GPy', install_requires=['numpy>=1.7', 'scipy>=0.16', 'six', 'paramz'], extras_require = {'docs':['sphinx'], 'optional':['mpi4py', @@ -187,4 +189,4 @@ if not os.path.exists(user_file): tmp = l.read() f.write(tmp) else: - print("GPy: User configuration file at location {}".format(user_file)) \ No newline at end of file + print("GPy: User configuration file at location {}".format(user_file))