diff options
author | Thibaut Goetghebuer-Planchon <thibaut.goetghebuer-planchon@arm.com> | 2022-08-31 13:22:46 +0100 |
---|---|---|
committer | Thibaut Goetghebuer-Planchon <thibaut.goetghebuer-planchon@arm.com> | 2022-08-31 15:54:52 +0100 |
commit | fc30109b011d21c850d0773daa2cf115f856af93 (patch) | |
tree | f19f323b6acd56f511af44d0c2fa3d4eddc5c747 /setup.py | |
parent | d292c019216249ef8945ecd4b60d6a248749b70c (diff) | |
download | tosa_checker-fc30109b011d21c850d0773daa2cf115f856af93.tar.gz |
Read the content of README.md directly into long_description of setuptools.setup
Change-Id: I4aaf3b7e47e0b714f13339867ee46a79a8530782
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 import argparse import os +import pathlib import setuptools import setuptools.command.build_ext import shutil @@ -100,7 +101,7 @@ setuptools.setup( name="tosa-checker", version=TOSA_CHECKER_VERSION, description="Tool to check if a ML model is compatible with the TOSA specification", - long_description="file: README.md", + long_description=(pathlib.Path(__file__).parent / "README.md").read_text(), long_description_content_type="text/markdown", author="Arm Limited", url="https://git.mlplatform.org/tosa/tosa_checker.git/", |