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 | |
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
-rw-r--r-- | MANIFEST.in | 4 | ||||
-rw-r--r-- | setup.py | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 74d9656..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,4 +0,0 @@ -# SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. -# SPDX-License-Identifier: Apache-2.0 - -include README.md @@ -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/", |