From 2b6bdc59e873fc6a601e01982fdc539888b55a20 Mon Sep 17 00:00:00 2001 From: Ed Summers Date: Tue, 19 Nov 2019 15:46:35 -0500 Subject: [PATCH] send markdown with twine --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b6832ac..1cdc737 100644 --- a/setup.py +++ b/setup.py @@ -2,11 +2,13 @@ if sys.version_info < (3,0): sys.exit('Sorry, diffengine runs on Python 3') - from setuptools import setup, find_packages reqs = open("requirements.txt").read().split() +with open("README.md") as f: + long_description = f.read() + # hack until htmldiff is updated to work with python3 on pypi htmldiff = "https://github.com/edsu/htmldiff/tarball/master#egg=htmldiff-0.2" reqs.remove(htmldiff) @@ -21,7 +23,9 @@ author="Ed Summers", author_email="ehs@pobox.com", packages=find_packages(exclude=['test_diffengine']), - description="Tweet changes to stories in RSS feeds", + description="Monitor changes to webpages in RSS feeds", + long_description=long_description, + long_description_content_type="text/markdown", install_requires=reqs, dependency_links=deps, setup_data={'diffengine': ['diffengine/diff.html']},