From 9d972bfa792c08d4f3ce6a6b7cfd9877f801b5e3 Mon Sep 17 00:00:00 2001 From: Martin Vilcans Date: Sun, 12 Jul 2020 01:09:47 +0200 Subject: Use content or README.md as long_description --- setup.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup.py b/setup.py index d77d9e8..2268e2d 100755 --- a/setup.py +++ b/setup.py @@ -2,10 +2,18 @@ from setuptools import setup +# read the contents of your README file +from os import path +this_directory = path.abspath(path.dirname(__file__)) +with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + setup( name='screenplain', version='0.9.0', description='Convert text file to viewable screenplay.', + long_description=long_description, + long_description_content_type='text/markdown', author='Martin Vilcans', author_email='screenplain@librador.com', url='http://www.screenplain.com/', -- cgit