From: Daniel Greenfeld Date: Sat, 17 May 2014 23:26:22 +0000 (-0700) Subject: Various setup and version issues X-Git-Tag: 0.1.1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6e0abfeafdf260d5c4e6250265d3e79e856b948;p=cached-property.git Various setup and version issues --- 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',