From 5b16988d1816cc3f381947625aff8dbd41760445 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Thu, 13 Aug 2020 16:29:40 -0400 Subject: [PATCH] dont change py2exe LONG_DESCRIPTION --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 9cddfb50e..e9c83baad 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,9 @@ exec(compile(open('youtube_dl/version.py').read(), 'youtube_dl/version.py', 'exec')) DESCRIPTION = 'YouTube video downloader' -LONG_DESCRIPTION = open('README.md').read() +LONG_DESCRIPTION = 'Command-line program to download videos from YouTube.com and other video sites' +with open('README.md') as f: + README = f.read() py2exe_console = [{ 'script': './youtube_dl/__main__.py', @@ -103,7 +105,7 @@ setup( name='youtube_dl', version=__version__, description=DESCRIPTION, - long_description=LONG_DESCRIPTION, + long_description=README, long_description_content_type='text/markdown', url='https://github.com/ytdl-org/youtube-dl', author='Ricardo Garcia',