diff --git a/HISTORY.rst b/HISTORY.rst index 1b5b2cac..36e11f15 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -8,6 +8,10 @@ This project adheres to `Semantic Versioning `_. `unreleased`_ changes --------------------- +`2.4.1`_ (2022-03-10) +--------------------- +* `#471`_: Fix extra white space in description and SQL fields. + `2.4.0`_ (2022-02-10) --------------------- * `#470`_: Upgrade JS/CSS versions. @@ -382,6 +386,7 @@ Initial Release .. _#449: https://github.com/groveco/django-sql-explorer/pull/449 .. _#450: https://github.com/groveco/django-sql-explorer/pull/450 .. _#470: https://github.com/groveco/django-sql-explorer/pull/470 +.. _#471: https://github.com/groveco/django-sql-explorer/pull/471 .. _#269: https://github.com/groveco/django-sql-explorer/issues/269 .. _#288: https://github.com/groveco/django-sql-explorer/issues/288 diff --git a/explorer/__init__.py b/explorer/__init__.py index 0543f7d7..c4e6013e 100644 --- a/explorer/__init__.py +++ b/explorer/__init__.py @@ -1,7 +1,7 @@ __version_info__ = { 'major': 2, 'minor': 4, - 'micro': 0, + 'micro': 1, 'releaselevel': 'final', 'serial': 0 } diff --git a/setup.py b/setup.py index f1f9c55e..1e44293b 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ import os import sys +from pathlib import Path from setuptools import setup try: @@ -38,6 +39,8 @@ def read(fname): os.system("git push --tags") sys.exit() +this_directory = Path(__file__).parent +long_description = (this_directory / "README.rst").read_text() setup( name=name, @@ -55,7 +58,8 @@ def read(fname): 'Issues': 'https://github.com/groveco/django-sql-explorer/issues' }, packages=['explorer'], - long_description=read('README.rst'), + long_description=long_description, + long_description_content_type='text/x-rst', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers',