1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +00:00

setup.py: Add long description to package

Use the readme as the long description, this will be
displayed on the PyPi page.
This commit is contained in:
Marc Bonnici 2021-01-06 10:43:11 +00:00 committed by setrofim
parent 5cf18a7b3c
commit 3ab9d23a4a

View File

@ -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,