aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaut Goetghebuer-Planchon <thibaut.goetghebuer-planchon@arm.com>2022-08-31 13:22:46 +0100
committerThibaut Goetghebuer-Planchon <thibaut.goetghebuer-planchon@arm.com>2022-08-31 15:54:52 +0100
commitfc30109b011d21c850d0773daa2cf115f856af93 (patch)
treef19f323b6acd56f511af44d0c2fa3d4eddc5c747
parentd292c019216249ef8945ecd4b60d6a248749b70c (diff)
downloadtosa_checker-fc30109b011d21c850d0773daa2cf115f856af93.tar.gz
Read the content of README.md directly into long_description of setuptools.setup
Change-Id: I4aaf3b7e47e0b714f13339867ee46a79a8530782
-rw-r--r--MANIFEST.in4
-rw-r--r--setup.py3
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
diff --git a/setup.py b/setup.py
index eb7d5e1..a62cd22 100644
--- a/setup.py
+++ b/setup.py
@@ -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/",