python-attrs/Fix-long-description.patch
fandehui 4493ed00d6 Fix long description
Signed-off-by: fandehui <fandehui@xfusion.com>
2023-12-27 15:44:12 +08:00

29 lines
765 B
Diff

From 108c792ec8e8b6446e835b33a39f416b2cd1734d Mon Sep 17 00:00:00 2001
From: Hynek Schlawack <hs@ox.cx>
Date: Fri, 20 Nov 2020 10:13:38 +0100
Subject: [PATCH] Fix long description
---
setup.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 64af96e..51f4178 100644
--- a/setup.py
+++ b/setup.py
@@ -87,7 +87,10 @@ def find_meta(meta):
VERSION = find_meta("version")
URL = find_meta("url")
LONG = (
- read("README.rst")
+ "======================================\n"
+ "``attrs``: Classes Without Boilerplate\n"
+ "======================================\n"
+ + read("README.rst").split(".. teaser-begin")[1]
+ "\n\n"
+ "Release Information\n"
+ "===================\n\n"
--
2.27.0