2 # -*- coding: utf-8 -*-
8 from setuptools
import setup
10 from distutils
.core
import setup
14 readme
= open('README.rst').read()
15 history
= open('HISTORY.rst').read().replace('.. :changelog:', '')
17 if sys
.argv
[-1] == 'publish':
18 os
.system('python setup.py sdist bdist_wheel upload')
19 os
.system("git tag -a %s -m 'version %s'" % (__version__
, __version__
))
20 os
.system("git push --tags")
24 name
='cached-property',
26 description
='A decorator for caching properties in classes.',
27 long_description
=readme
+ '\n\n' + history
,
28 author
='Daniel Greenfeld',
29 author_email
='pydanny@gmail.com',
30 url
='https://github.com/pydanny/cached-property',
31 py_modules
=['cached_property'],
32 include_package_data
=True,
35 keywords
='cached-property',
37 'Development Status :: 5 - Production/Stable',
38 'Intended Audience :: Developers',
39 'License :: OSI Approved :: BSD License',
40 'Natural Language :: English',
41 "Programming Language :: Python :: 2",
42 'Programming Language :: Python :: 2.6',
43 'Programming Language :: Python :: 2.7',
44 'Programming Language :: Python :: 3',
45 'Programming Language :: Python :: 3.3',
46 'Programming Language :: Python :: 3.4',
47 'Programming Language :: Python :: 3.5',