From 73ab214654a5e7462ce1a2397b7193a26d511e24 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Wed, 29 Jan 2020 21:37:28 +0100 Subject: [PATCH] [pypi] Add markdown --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 89e52c9..eaedaa0 100755 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ # -*- coding: utf8 - *- import sys -from setuptools import setup +from setuptools import setup, Extension about = {} with open("bumblebee/__about__.py") as fp: @@ -45,7 +45,7 @@ EXTRAS_REQUIREMENTS_MAP = { "yubikey": read_module("yubikey"), } -if sys.version_info[0] > 2: # LATER: README needs to be reStructuredText for pypi +if sys.version_info[0] > 2: readme = open('README.md', encoding='utf-8').read() else: readme = open('README.md').read() @@ -65,6 +65,7 @@ setup( author_email=about['__email__'], description=about['__description__'], long_description=readme, + long_description_content_type='text/markdown', packages=['bumblebee'], include_package_data=True, install_requires=install_reqs,