Have pypi show the link to github

rendering of the rst file is way too strict to fuzz about with.
This commit is contained in:
Max Zwiessele 2015-11-08 10:48:29 +00:00
parent d01c25880b
commit d3ce255cbe

View file

@ -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))
print("GPy: User configuration file at location {}".format(user_file))