ref: e6a07fe7ae689cad66c1d754cf565649a9400083
parent: 0c1860391ab0fab4ea62689d919a2ea4f3e91fbc
author: Paul Brossier <piem@piem.org>
date: Wed Nov 21 11:41:58 EST 2018
[pip] use python/README.md for package long description
--- a/setup.py
+++ b/setup.py
@@ -62,6 +62,11 @@
'GNU General Public License v3 or later (GPLv3+)',
]
+thisdir = os.path.abspath(os.path.dirname(__file__))
+py_readme_file = os.path.join(thisdir, 'python', 'README.md')
+with open(py_readme_file, 'r') as fp:
+ long_description = ''.join(fp.readlines()[3:])
+
distrib = setup(name='aubio',
version = __version__,
packages = ['aubio'],
@@ -68,7 +73,7 @@
package_dir = {'aubio': 'python/lib/aubio'},
ext_modules = [aubio_extension],
description = 'a collection of tools for music analysis',
- long_description = 'a collection of tools for music analysis',
+ long_description = long_description,
license = 'GNU/GPL version 3',
author = 'Paul Brossier',
author_email = 'piem@aubio.org',