From afb8748dbfa3c459d1dfc2dc8b08334044f53999 Mon Sep 17 00:00:00 2001 From: Mathias Behrle Date: Wed, 25 Oct 2017 10:52:13 +0200 Subject: [PATCH] New upstream version 1.3.1 --- HISTORY.rst | 7 +++++++ PKG-INFO | 22 ++++++++++++++++++++-- README.rst | 13 ++++++++++++- cached_property.egg-info/PKG-INFO | 22 ++++++++++++++++++++-- cached_property.py | 2 +- setup.cfg | 1 - setup.py | 12 +++++++++--- 7 files changed, 69 insertions(+), 10 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index d754400..f27cab8 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,9 +3,16 @@ History ------- +1.3.1 (2017-09-21) +++++++++++++++++++ + +* Validate for Python 3.6 + + 1.3.0 (2015-11-24) ++++++++++++++++++ +* Drop some non-ASCII characters from HISTORY.rst, thanks to @AdamWill * Added official support for Python 3.5, thanks to @pydanny and @audreyr * Removed confusingly placed lock from example, thanks to @ionelmc * Corrected invalidation cache documentation, thanks to @proofit404 diff --git a/PKG-INFO b/PKG-INFO index d42a23f..f9e7abe 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cached-property -Version: 1.3.0 +Version: 1.3.1 Summary: A decorator for caching properties in classes. Home-page: https://github.com/pydanny/cached-property Author: Daniel Greenfeld @@ -193,7 +193,7 @@ Description: =============================== Credits -------- - * Pip, Django, Werkzueg, Bottle, Pyramid, and Zope for having their own implementations. This package uses an implementation that matches the Bottle version. + * Pip, Django, Werkzueg, Bottle, Pyramid, and Zope for having their own implementations. This package originally used an implementation that matched the Bottle version. * Reinout Van Rees for pointing out the `cached_property` decorator to me. * My awesome wife `@audreyr`_ who created `cookiecutter`_, which meant rolling this out took me just 15 minutes. * @tinche for pointing out the threading issue and providing a solution. @@ -202,15 +202,33 @@ Description: =============================== .. _`@audreyr`: https://github.com/audreyr .. _`cookiecutter`: https://github.com/audreyr/cookiecutter + Support This Project + --------------------------- + + This project is maintained by volunteers. Support their efforts by spreading the word about: + + .. image:: https://s3.amazonaws.com/tsacademy/images/tsa-logo-250x60-transparent-01.png + :name: Two Scoops Academy + :align: center + :alt: Two Scoops Academy + :target: http://www.twoscoops.academy/ + History ------- + 1.3.1 (2017-09-21) + ++++++++++++++++++ + + * Validate for Python 3.6 + + 1.3.0 (2015-11-24) ++++++++++++++++++ + * Drop some non-ASCII characters from HISTORY.rst, thanks to @AdamWill * Added official support for Python 3.5, thanks to @pydanny and @audreyr * Removed confusingly placed lock from example, thanks to @ionelmc * Corrected invalidation cache documentation, thanks to @proofit404 diff --git a/README.rst b/README.rst index cebe4a2..0d428f5 100644 --- a/README.rst +++ b/README.rst @@ -185,7 +185,7 @@ is why they are broken out into seperate tools. See https://github.com/pydanny/c Credits -------- -* Pip, Django, Werkzueg, Bottle, Pyramid, and Zope for having their own implementations. This package uses an implementation that matches the Bottle version. +* Pip, Django, Werkzueg, Bottle, Pyramid, and Zope for having their own implementations. This package originally used an implementation that matched the Bottle version. * Reinout Van Rees for pointing out the `cached_property` decorator to me. * My awesome wife `@audreyr`_ who created `cookiecutter`_, which meant rolling this out took me just 15 minutes. * @tinche for pointing out the threading issue and providing a solution. @@ -193,3 +193,14 @@ Credits .. _`@audreyr`: https://github.com/audreyr .. _`cookiecutter`: https://github.com/audreyr/cookiecutter + +Support This Project +--------------------------- + +This project is maintained by volunteers. Support their efforts by spreading the word about: + +.. image:: https://s3.amazonaws.com/tsacademy/images/tsa-logo-250x60-transparent-01.png + :name: Two Scoops Academy + :align: center + :alt: Two Scoops Academy + :target: http://www.twoscoops.academy/ diff --git a/cached_property.egg-info/PKG-INFO b/cached_property.egg-info/PKG-INFO index d42a23f..f9e7abe 100644 --- a/cached_property.egg-info/PKG-INFO +++ b/cached_property.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cached-property -Version: 1.3.0 +Version: 1.3.1 Summary: A decorator for caching properties in classes. Home-page: https://github.com/pydanny/cached-property Author: Daniel Greenfeld @@ -193,7 +193,7 @@ Description: =============================== Credits -------- - * Pip, Django, Werkzueg, Bottle, Pyramid, and Zope for having their own implementations. This package uses an implementation that matches the Bottle version. + * Pip, Django, Werkzueg, Bottle, Pyramid, and Zope for having their own implementations. This package originally used an implementation that matched the Bottle version. * Reinout Van Rees for pointing out the `cached_property` decorator to me. * My awesome wife `@audreyr`_ who created `cookiecutter`_, which meant rolling this out took me just 15 minutes. * @tinche for pointing out the threading issue and providing a solution. @@ -202,15 +202,33 @@ Description: =============================== .. _`@audreyr`: https://github.com/audreyr .. _`cookiecutter`: https://github.com/audreyr/cookiecutter + Support This Project + --------------------------- + + This project is maintained by volunteers. Support their efforts by spreading the word about: + + .. image:: https://s3.amazonaws.com/tsacademy/images/tsa-logo-250x60-transparent-01.png + :name: Two Scoops Academy + :align: center + :alt: Two Scoops Academy + :target: http://www.twoscoops.academy/ + History ------- + 1.3.1 (2017-09-21) + ++++++++++++++++++ + + * Validate for Python 3.6 + + 1.3.0 (2015-11-24) ++++++++++++++++++ + * Drop some non-ASCII characters from HISTORY.rst, thanks to @AdamWill * Added official support for Python 3.5, thanks to @pydanny and @audreyr * Removed confusingly placed lock from example, thanks to @ionelmc * Corrected invalidation cache documentation, thanks to @proofit404 diff --git a/cached_property.py b/cached_property.py index 6a342d5..7e8bebe 100644 --- a/cached_property.py +++ b/cached_property.py @@ -2,7 +2,7 @@ __author__ = 'Daniel Greenfeld' __email__ = 'pydanny@gmail.com' -__version__ = '1.3.0' +__version__ = '1.3.1' __license__ = 'BSD' from time import time diff --git a/setup.cfg b/setup.cfg index 6c71b61..1e3eb36 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,5 +4,4 @@ universal = 1 [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff --git a/setup.py b/setup.py index c86b5c9..2b670b8 100755 --- a/setup.py +++ b/setup.py @@ -3,16 +3,22 @@ import os import sys +import codecs try: from setuptools import setup except ImportError: from distutils.core import setup -__version__ = '1.3.0' +__version__ = '1.3.1' -readme = open('README.rst').read() -history = open('HISTORY.rst').read().replace('.. :changelog:', '') + +def read(fname): + return codecs.open( + os.path.join(os.path.dirname(__file__), fname), 'r', 'utf-8').read() + +readme = read('README.rst') +history = read('HISTORY.rst').replace('.. :changelog:', '') if sys.argv[-1] == 'publish': os.system('python setup.py sdist bdist_wheel upload')