From ce1b0e7bcdfb983e7299b959bd416231092fd726 Mon Sep 17 00:00:00 2001 From: Sergey Lavrinenko Date: Tue, 31 Mar 2026 02:26:38 +0300 Subject: [PATCH] Clean up documentation and project metadata - Fix long_description_content_type: text/markdown -> text/x-rst - Update readthedocs URLs: .org -> .io, HTTP -> HTTPS - Remove stale Coveralls badge from README - Remove dead Ubuntu PPA installation instructions - Remove dead pyzmail link from docs - Remove completed/stale items from TODO - Update copyright years - Remove orphaned requirements/tests-2.7.txt and .pyup.yml --- .pyup.yml | 8 -------- README.rst | 4 +--- docs/conf_base.py | 2 +- docs/install.rst | 10 +--------- docs/links.rst | 1 - docs/todo.rst | 4 ---- emails/__init__.py | 6 +++--- requirements/tests-2.7.txt | 9 --------- setup.py | 6 +++--- 9 files changed, 9 insertions(+), 41 deletions(-) delete mode 100644 .pyup.yml delete mode 100644 requirements/tests-2.7.txt diff --git a/.pyup.yml b/.pyup.yml deleted file mode 100644 index 3a671df..0000000 --- a/.pyup.yml +++ /dev/null @@ -1,8 +0,0 @@ -# autogenerated pyup.io config file -# see https://pyup.io/docs/configuration/ for all available options - -update: insecure - -requirements: - - requirements/tests-2.6.txt - update: False diff --git a/README.rst b/README.rst index 6c89079..d19fb4b 100644 --- a/README.rst +++ b/README.rst @@ -30,7 +30,7 @@ and more: | -Documentation: `python-emails.readthedocs.org `_ +Documentation: `python-emails.readthedocs.io `_ Flask extension: `flask-emails `_ @@ -43,5 +43,3 @@ Flask extension: `flask-emails `_ .. image:: https://img.shields.io/pypi/v/emails.svg :target: https://pypi.python.org/pypi/emails -.. image:: https://coveralls.io/repos/lavr/python-emails/badge.svg?branch=master - :target: https://coveralls.io/r/lavr/python-emails?branch=master diff --git a/docs/conf_base.py b/docs/conf_base.py index be409d2..92997d6 100644 --- a/docs/conf_base.py +++ b/docs/conf_base.py @@ -51,7 +51,7 @@ # General information about the project. project = u'python-emails' -copyright = u'2015, Sergey Lavrinenko' +copyright = u'2015-2026, Sergey Lavrinenko' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/docs/install.rst b/docs/install.rst index db32e9a..09e4a30 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -6,12 +6,4 @@ Install from pypi: .. code-block:: bash - $ [sudo] pip install emails - -Install on Ubuntu from PPA: - -.. code-block:: bash - - $ [sudo] add-apt-repository ppa:lavrme/python-emails-ppa - $ [sudo] apt-get update - $ [sudo] apt-get install python-emails + $ pip install emails diff --git a/docs/links.rst b/docs/links.rst index 25c79a2..e6bab85 100644 --- a/docs/links.rst +++ b/docs/links.rst @@ -6,5 +6,4 @@ There are plenty other python email-around libraries that may fit your needs: - `premailer `_ - `flask-mail `_ - - `pyzmail `_ - `marrow.mailer `_ diff --git a/docs/todo.rst b/docs/todo.rst index 6d9508b..8a16a2b 100644 --- a/docs/todo.rst +++ b/docs/todo.rst @@ -4,9 +4,5 @@ TODO - Documentation - Increase test coverage -- Feature: load message from rfc2822 - Feature: export message to directory or zipfile -- Distribution: deb package (`debianization example `_) -- Distribution: rpm package -- Other: Flask extension - Feature: ESP integration - Amazon SES, SendGrid, ... diff --git a/emails/__init__.py b/emails/__init__.py index 6a94adc..3f05005 100644 --- a/emails/__init__.py +++ b/emails/__init__.py @@ -30,8 +30,8 @@ Links ````` -* `documentation `_ -* `source code `_ +* `documentation `_ +* `source code `_ """ @@ -41,7 +41,7 @@ __version__ = '0.6' __author__ = 'Sergey Lavrinenko' __license__ = 'Apache 2.0' -__copyright__ = 'Copyright 2013-2019 Sergey Lavrinenko' +__copyright__ = 'Copyright 2013-2026 Sergey Lavrinenko' USER_AGENT = 'python-emails/%s' % __version__ diff --git a/requirements/tests-2.7.txt b/requirements/tests-2.7.txt deleted file mode 100644 index 1f94c2a..0000000 --- a/requirements/tests-2.7.txt +++ /dev/null @@ -1,9 +0,0 @@ ---requirement=tests-base.txt - -cssutils -lxml -chardet -python-dateutil -requests -django -premailer<3.7 diff --git a/setup.py b/setup.py index 442de22..5e7b3e1 100644 --- a/setup.py +++ b/setup.py @@ -32,8 +32,8 @@ Links ````` -* `documentation `_ -* `source code `_ +* `documentation `_ +* `source code `_ """ @@ -111,7 +111,7 @@ def find_version(*file_paths): version=find_version('emails/__init__.py'), description='Modern python library for emails.', long_description=__doc__, - long_description_content_type='text/markdown', + long_description_content_type='text/x-rst', author='Sergey Lavrinenko', author_email='s@lavr.me', url='https://github.com/lavr/python-emails',