diff --git a/README.md b/README.md index bf4bf4913..3ba4ee51b 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ ![GitHub](https://img.shields.io/github/license/CapitalOne/DataProfiler) ![GitHub last commit](https://img.shields.io/github/last-commit/CapitalOne/DataProfiler) -
+
diff --git a/setup.py b/setup.py index 33b29692a..f8b5eaf8e 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,18 @@ # Get the long description from the README file with open(path.join(here, "README.md"), encoding="utf-8") as f: - LONG_DESCRIPTION = f.read() + tag_to_replace = "" + tag_found = False + LONG_DESCRIPTION = "" + + for line in f: + LONG_DESCRIPTION += line + if '
' in line or tag_found: + tag_found = True + tag_to_replace += line + if "
" in line and tag_found: + tag_found = False + LONG_DESCRIPTION = LONG_DESCRIPTION.replace(tag_to_replace, "") # Get the install_requirements from requirements.txt with open(path.join(here, "requirements.txt"), encoding="utf-8") as f: