diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3af83df..eece417 100755 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,14 @@ Changelog ========= +1.2.1 (2022-05-04) +------------------ + +fix +^^^ +- correctly declare supported types through setup.cfg and setuptools + + 1.2.0 (2022-05-04) ------------------ diff --git a/README.rst b/README.rst index c757748..f3caf0c 100755 --- a/README.rst +++ b/README.rst @@ -133,9 +133,9 @@ Example code to use the `factory` pattern in the form of a `(sub) class registry :alt: PyPI - Python Version :target: https://pypi.org/project/software-patterns -.. |commits_since| image:: https://img.shields.io/github/commits-since/boromir674/software-patterns/v1.2.0/master?color=blue&logo=Github +.. |commits_since| image:: https://img.shields.io/github/commits-since/boromir674/software-patterns/v1.2.1/master?color=blue&logo=Github :alt: GitHub commits since tagged version (branch) - :target: https://github.com/boromir674/software-patterns/compare/v1.2.0..master + :target: https://github.com/boromir674/software-patterns/compare/v1.2.1..master diff --git a/docs/conf.py b/docs/conf.py index 3e80808..b74b2b6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ author = 'Konstantinos Lampridis' # The full version, including alpha/beta/rc tags -release = '1.2.0' +release = '1.2.1' # -- General configuration --------------------------------------------------- diff --git a/setup.cfg b/setup.cfg index e9dbc39..21c036e 100755 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] ## Setuptools specific information name = software_patterns -version = 1.2.0 +version = 1.2.1 description = Software Design Patterns with types in Python. long_description = file: README.rst long_description_content_type = text/x-rst @@ -14,7 +14,7 @@ author_email = k.lampridis@hotmail.com # represents the web home page of the project url = https://github.com/boromir674/software_patterns -download_url = https://github.com/boromir674/software_patterns/archive/v1.2.0.tar.gz +download_url = https://github.com/boromir674/software_patterns/archive/v1.2.1.tar.gz ## PyPi specific information project_urls = @@ -59,6 +59,12 @@ tests_require = pytest [options.packages.find] where=src + +[options.package_data] +software_patterns = + py.typed + + #### SUPORT TOOLS CONFIG [flake8] max_line_length = 120 diff --git a/src/software_patterns/__init__.py b/src/software_patterns/__init__.py index c47ce97..f114670 100755 --- a/src/software_patterns/__init__.py +++ b/src/software_patterns/__init__.py @@ -1,4 +1,4 @@ -__version__ = '1.2.0' +__version__ = '1.2.1' from .notification import Observer, Subject from .memoize import ObjectsPool