From 500aa9f8529f1c523b0cf4c0a9f2181bbe8a47b0 Mon Sep 17 00:00:00 2001 From: gnbl Date: Mon, 9 Apr 2018 12:16:54 +0200 Subject: [PATCH 1/2] add last PIL release version and date to about.rst --- docs/about.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/about.rst b/docs/about.rst index 7aeb9b8dd..323593a36 100644 --- a/docs/about.rst +++ b/docs/about.rst @@ -35,7 +35,7 @@ What about PIL? Prior to Pillow 2.0.0, very few image code changes were made. Pillow 2.0.0 added Python 3 support and includes many bug fixes from many contributors. -As more time passes since the last PIL release, the likelihood of a new PIL release decreases. However, we've yet to hear an official "PIL is dead" announcement. So if you still want to support PIL, please `report issues here first`_, then `open corresponding Pillow tickets here`_. +As more time passes since the last PIL release (1.1.7 in 2009), the likelihood of a new PIL release decreases. However, we've yet to hear an official "PIL is dead" announcement. So if you still want to support PIL, please `report issues here first`_, then `open corresponding Pillow tickets here`_. .. _report issues here first: https://bitbucket.org/effbot/pil-2009-raclette/issues From 36be37c5c56ae042b3a35e3abf3d59061c0e1162 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sun, 1 Jul 2018 10:45:08 +0300 Subject: [PATCH 2/2] update package and version module docstrings Co-authored-by: gnbl --- src/PIL/__init__.py | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/src/PIL/__init__.py b/src/PIL/__init__.py index eee0abde5..a07280e31 100644 --- a/src/PIL/__init__.py +++ b/src/PIL/__init__.py @@ -1,15 +1,18 @@ -# -# The Python Imaging Library. -# $Id$ -# -# package placeholder -# -# Copyright (c) 1999 by Secret Labs AB. -# -# See the README file for information on usage and redistribution. -# +"""Pillow {} (Fork of the Python Imaging Library) -# ;-) +Pillow is the friendly PIL fork by Alex Clark and Contributors. + https://github.com/python-pillow/Pillow/ + +Pillow is forked from PIL 1.1.7. + +PIL is the Python Imaging Library by Fredrik Lundh and Contributors. +Copyright (c) 1999 by Secret Labs AB. + +Use PIL.__version__ for this Pillow version. +PIL.VERSION is the old PIL version and will be removed in the future. + +;-) +""" from . import _version @@ -21,6 +24,9 @@ PILLOW_VERSION = __version__ = _version.__version__ del _version +__doc__ = __doc__.format(__version__) # include version in docstring + + _plugins = ['BlpImagePlugin', 'BmpImagePlugin', 'BufrStubImagePlugin',