From d88194741a3790ab9ab707d985d18fa01eee1acf Mon Sep 17 00:00:00 2001 From: Hsiaoming Yang Date: Tue, 16 Feb 2021 17:18:06 +0900 Subject: [PATCH] Version bump 2.0.0rc1 --- README.md | 2 +- mistune/__init__.py | 2 +- setup.cfg | 5 +++++ setup.py | 6 ------ 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index de99032..21e82d6 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Using old Mistune? Checkout docs: To install v2 of mistune: ``` -$ pip install mistune==2.0.0a6 +$ pip install mistune==2.0.0rc1 ``` ## Overview diff --git a/mistune/__init__.py b/mistune/__init__.py index ad9a177..6a4c5a5 100644 --- a/mistune/__init__.py +++ b/mistune/__init__.py @@ -58,4 +58,4 @@ def markdown(text, escape=True, renderer=None, plugins=None): 'html', 'create_markdown', 'markdown', ] -__version__ = '2.0.0a6' +__version__ = '2.0.0rc1' diff --git a/setup.cfg b/setup.cfg index 190419f..9464e02 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,8 @@ +[metadata] +name = mistune +long_description = file: README.rst +long_description_content_type = text/x-rst + [wheel] universal = 1 diff --git a/setup.py b/setup.py index 5362e91..27d6869 100644 --- a/setup.py +++ b/setup.py @@ -4,11 +4,6 @@ from setuptools import setup -def fread(filepath): - with open(filepath, 'r') as f: - return f.read() - - setup( name='mistune', version=mistune.__version__, @@ -16,7 +11,6 @@ def fread(filepath): author='Hsiaoming Yang', author_email='me@lepture.com', description='A sane Markdown parser with useful plugins and renderers', - long_description=fread('README.rst'), license='BSD', packages=[ 'mistune', 'mistune.plugins', 'mistune.directives'