From 633f9dad2d24dd3c1ae59ed08aa5f6a47c001535 Mon Sep 17 00:00:00 2001 From: Daniel Greenfeld Date: Sat, 17 May 2014 16:26:22 -0700 Subject: [PATCH] Various setup and version issues --- HISTORY.rst | 5 +++++ cached_property.py | 3 ++- setup.py | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index c89dd67..c93f785 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,11 @@ History ------- +0.1.1 (2014-05-17) +++++++++++++++++++ + +* setup.py fix. Whoops! + 0.1.0 (2014-05-17) ++++++++++++++++++ diff --git a/cached_property.py b/cached_property.py index 8fc6f4b..cb06f93 100644 --- a/cached_property.py +++ b/cached_property.py @@ -2,7 +2,8 @@ __author__ = 'Daniel Greenfeld' __email__ = 'pydanny@gmail.com' -__version__ = '0.1.0' +__version__ = '0.1.1' +__license__ = 'BSD' class cached_property(object): diff --git a/setup.py b/setup.py index 0c0b2fd..071a3f6 100755 --- a/setup.py +++ b/setup.py @@ -21,13 +21,13 @@ if sys.argv[-1] == 'publish': os.system('python setup.py sdist bdist_wheel upload') print("You probably want to also tag the version now:") print(" git tag -a %s -m 'version %s'" % (cached_property.__version__, - cached_property.version)) + cached_property.__version__)) print(" git push --tags") sys.exit() setup( name='cached-property', - version='0.1.0', + version=cached_property.__version__, description='A cached-property for decorating methods in classes.', long_description=readme + '\n\n' + history, author='Daniel Greenfeld', -- 2.30.2