From 3a96ab1d2c07f36d8d5ef21085e3c57a4384a23d Mon Sep 17 00:00:00 2001 From: Simon Robinson Date: Wed, 1 Nov 2023 20:29:09 +0000 Subject: [PATCH] Bump version for release; fix license display on PyPI --- emailproxy.py | 4 ++-- pyproject.toml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/emailproxy.py b/emailproxy.py index a73dd95..831d7d9 100644 --- a/emailproxy.py +++ b/emailproxy.py @@ -6,7 +6,7 @@ __author__ = 'Simon Robinson' __copyright__ = 'Copyright (c) 2023 Simon Robinson' __license__ = 'Apache 2.0' -__version__ = '2023-10-31' # ISO 8601 (YYYY-MM-DD) +__version__ = '2023-11-01' # ISO 8601 (YYYY-MM-DD) __package_version__ = '.'.join([str(int(i)) for i in __version__.split('-')]) # for pyproject.toml usage only import abc @@ -2428,7 +2428,7 @@ def macos_nsworkspace_notification_listener_(self, notification): # noinspection PyDeprecation def create_icon(self): - # temporary fix for pystray <= 0.19.4 incompatibility with PIL 10.0.0+; fixed once pystray PR #147 is released + # fix pystray <= 0.19.4 incompatibility with PIL 10.0.0+; resolved in 0.19.5 and later via pystray PR #147 with warnings.catch_warnings(): warnings.simplefilter('ignore', DeprecationWarning) pystray_version = pkg_resources.get_distribution('pystray').version diff --git a/pyproject.toml b/pyproject.toml index 464eb89..d0f1faf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ authors = [ ] description = "Transparently add OAuth 2.0 support to IMAP/POP/SMTP clients that don't support this authentication method." readme = { file = "README.md", content-type = "text/markdown" } -license = { file = "LICENSE" } +license = { text = "Apache License 2.0" } requires-python = ">=3.6" classifiers = [ "Operating System :: OS Independent", @@ -32,7 +32,10 @@ emailproxy = "emailproxy:App" [project.urls] "Homepage" = "https://github.com/simonrob/email-oauth2-proxy" +"Changelog" = "https://github.com/simonrob/email-oauth2-proxy/releases" +"Documentation" = "https://github.com/simonrob/email-oauth2-proxy#email-oauth-20-proxy" "Bug Tracker" = "https://github.com/simonrob/email-oauth2-proxy/issues" +"Source Code" = "https://github.com/simonrob/email-oauth2-proxy" [tool.setuptools.dynamic] dependencies = { file = ["requirements-core.txt"] }