From 9ebaca073febb8d996eb120a84175192750cbfbf Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Tue, 20 Aug 2024 09:55:26 +0200 Subject: [PATCH] Fix long description twine check was complaining and it looks like it won't render the readme in pypi without this. --- setup.cfg | 1 + setup.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index c19fc1a..e628204 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,6 +3,7 @@ name = pifpaf home_page = https://github.com/jd/pifpaf summary = Suite of tools and fixtures to manage daemons for testing description_file = README.rst +long_description_content_type = text/x-rst author = Julien Danjou author_email = julien@danjou.info python_requires = >=3.8 diff --git a/setup.py b/setup.py index 61cc244..c1e53ea 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,6 @@ #!/usr/bin/env python import setuptools -setuptools.setup() +setuptools.setup( + long_description=open('README.rst').read(), +)