From c2bbcf7215c9b0ac376fc1ab91a1410413b302d6 Mon Sep 17 00:00:00 2001 From: Aron Radics Date: Thu, 6 Jun 2024 09:46:41 +0200 Subject: [PATCH] Fix Readme syntax because the deployment failing --- CHANGELOG.rst | 29 ++++++++++++++++++++++------- README.rst | 14 +++++++------- setup.py | 3 ++- 3 files changed, 31 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 284fbd7..d93af25 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,10 +1,26 @@ +========= Changelog ========= +------------------ +2.0.1 (2024-06-06) +------------------ + - Fix README.rst + +------------------ +2.0.0 (2024-06-04) +------------------ + - Remove six + - Remove python 3.7 support + - Add python 3.9 and 3.10 support + - Remove tox.ini + +------------------ 1.2.1 (2016-09-16) ------------------ - ``EnumLookupError`` class now inherits from built-in ``LookupError``. +------------------ 1.2.0 (2016-04-15) ------------------ - added simple ``LookupError`` members that are thrown when @@ -12,36 +28,35 @@ Changelog Users can choose to catch either the specific ``LookupError`` or continue to catch ``EnumLookupError``. +------------------ 1.1.0 (2014-04-17) ------------------ - support for Python 3 and PyPy +------------------ 1.0.4 (2013-12-03) ------------------ - Better unicode handling in ``__str__``, ``__unicode__``, and ``__repr__`` magic methods. +------------------ 1.0.3 (2013-12-03) ------------------ - Stop throwing warnings. +------------------ 1.0.2 (2013-11-05) ------------------ - Suppress warnings from mismatched type comparisons when generated in RichEnum.lookup. +------------------ 1.0.1 (2013-09-20) ------------------ - Raise warnings when comparing enum values to other types, but not when checking membership or comparing to None. +------------------ 1.0.0 (2013-08-16) ------------------ - Initial public release. - -2.0.0 (2024-06-04) ------------------- - - Remove six - - Remove python 3.7 support - - Add python 3.9 and 3.10 support - - Remove tox.ini \ No newline at end of file diff --git a/README.rst b/README.rst index 1af9e19..81f64e2 100644 --- a/README.rst +++ b/README.rst @@ -35,8 +35,8 @@ OrderedRichEnum ----- Links ----- -| `GitHub `_ -| `PyPi `_ +| `GitHub `__ +| `PyPi `__ | `Blog post about the motivation behind RichEnum `_ ============ @@ -46,9 +46,9 @@ Installation $ pip install richenum -===== +============= Example Usage -===== +============= ---- enum ---- @@ -102,9 +102,9 @@ Related Packages django-richenum Makes RichEnum and OrderedRichEnum available in as model fields and form fields in Django. - | `GitHub `_ + | `GitHub `__ - | `PyPi `_ + | `PyPi `__ enum Starting with Python 3.4, there is a standard library for enumerations. @@ -116,7 +116,7 @@ enum Contributing ============ -#. Fork the repo from `GitHub `_. +#. Fork the repo from `GitHub `__. #. Make your changes. #. Add unittests for your changes. #. Run `pep8 `_, `pyflakes `_, and `pylint `_ to make sure your changes follow the Python style guide and doesn't have any errors. diff --git a/setup.py b/setup.py index aa11093..34a87dc 100755 --- a/setup.py +++ b/setup.py @@ -5,12 +5,13 @@ setup( name='richenum', - version='2.0.0', + version='2.0.1', description='Enum library for python.', long_description=( open('README.rst').read() + '\n\n' + open('CHANGELOG.rst').read() + '\n\n' + open('AUTHORS.rst').read()), + long_description_content_type='text/x-rst', classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: MIT License',