From d03023ceac516a6579e29fbef3cb0ed2639ee241 Mon Sep 17 00:00:00 2001 From: davidmezzetti <561939+davidmezzetti@users.noreply.github.com> Date: Mon, 18 Sep 2023 17:06:55 -0400 Subject: [PATCH] Update setup.py to only show standard image on PyPI, closes #72 --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 13151f2..2ccc6c5 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,8 @@ from setuptools import find_packages, setup with open("README.md", "r", encoding="utf-8") as f: - DESCRIPTION = f.read() + # Remove GitHub dark mode images + DESCRIPTION = "".join([line for line in f if "gh-dark-mode-only" not in line]) # Optional dependencies extras = {} @@ -12,7 +13,7 @@ setup( name="paperai", - version="2.3.0", + version="2.2.1", author="NeuML", description="Semantic search and workflows for medical/scientific papers", long_description=DESCRIPTION,