From 28ea0067c66f85804aa263f370afae4d08ec040e Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Wed, 27 Jan 2021 20:35:49 +0000 Subject: [PATCH] setup: Add long_description, based on README --- setup.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup.py b/setup.py index 6134b7eb..34a3ba0a 100644 --- a/setup.py +++ b/setup.py @@ -40,10 +40,20 @@ def grep_version(): return '.'.join(map(str, eval(s))) +def long_description(): + here = os.path.dirname(__file__) + readme_path = os.path.join(here, 'README.md') + with open(readme_path) as fp: + readme = fp.read() + return readme + + setup( name = 'mitogen', version = grep_version(), description = 'Library for writing distributed self-replicating programs.', + long_description = long_description(), + long_description_content_type='text/markdown', author = 'David Wilson', license = 'New BSD', url = 'https://github.com/mitogen-hq/mitogen/',