From e80e3a310b449fca90e87a47ef9e6d1a163c7d49 Mon Sep 17 00:00:00 2001 From: Sergey Motornyuk Date: Fri, 13 Aug 2021 12:34:09 +0300 Subject: [PATCH] update setup.py --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 5f6cbd9..aad2a92 100644 --- a/setup.py +++ b/setup.py @@ -12,12 +12,16 @@ for group, filepath in _extras_groups: with open(os.path.join(HERE, filepath), 'r') as f: extras_require[group] = f.readlines() +# Get the long description from the relevant file +with open(os.path.join(HERE, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + setup( name="ckanext-googleanalytics", version=version, description="Add GA tracking and reporting to CKAN instance", - long_description="""\ - """, + long_description=long_description, + long_description_content_type="text/markdown", classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers keywords="", author="Seb Bacon",