From 79bae5d338ff6c3413681e11fd6c04486bfc43cf Mon Sep 17 00:00:00 2001 From: William de Vazelhes Date: Wed, 5 Sep 2018 17:19:38 +0200 Subject: [PATCH] FIX: add long_description in setup.py --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 34fedd76..8101a81b 100755 --- a/setup.py +++ b/setup.py @@ -7,9 +7,14 @@ with open(os.path.join('metric_learn', '_version.py')) as fp: exec(fp.read(), version) +# Get the long description from README.md +with open('README.rst', encoding='utf-8') as f: + long_description = f.read() + setup(name='metric-learn', version=version['__version__'], description='Python implementations of metric learning algorithms', + long_description=long_description, author=['CJ Carey', 'Yuan Tang'], author_email='ccarey@cs.umass.edu', url='http://github.com/all-umass/metric-learn',