From 3ab9d23a4a413640e99f3422b7ad5cf06a9523a4 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 6 Jan 2021 10:43:11 +0000 Subject: [PATCH] setup.py: Add long description to package Use the readme as the long description, this will be displayed on the PyPi page. --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 96262e1..692f14e 100644 --- a/setup.py +++ b/setup.py @@ -69,9 +69,13 @@ for root, dirs, files in os.walk(devlib_dir): filepaths = [os.path.join(root, f) for f in files] data_files[package_name].extend([os.path.relpath(f, package_dir) for f in filepaths]) +with open("README.rst", "r") as fh: + long_description = fh.read() + params = dict( name='devlib', description='A framework for automating workload execution and measurment collection on ARM devices.', + long_description=long_description, version=__version__, packages=packages, package_data=data_files,