From: Paul Brossier Date: Wed, 21 Nov 2018 15:41:58 +0000 (+0100) Subject: [pip] use python/README.md for package long description X-Git-Tag: 0.4.8~17 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=e6a07fe7ae689cad66c1d754cf565649a9400083;p=aubio.git [pip] use python/README.md for package long description --- diff --git a/setup.py b/setup.py index 4ff5fcb0..58b61f25 100755 --- a/setup.py +++ b/setup.py @@ -62,13 +62,18 @@ classifiers = [ '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'], 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',