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 print("You probably want to also tag the version now:")
20 print(" git tag -a %s -m 'version %s'" % (__version__
, __version__
))
21 print(" git push --tags")
25 name
='cached-property',
27 description
='A cached-property for decorating methods in classes.',
28 long_description
=readme
+ '\n\n' + history
,
29 author
='Daniel Greenfeld',
30 author_email
='pydanny@gmail.com',
31 url
='https://github.com/pydanny/cached-property',
32 py_modules
=['cached_property'],
33 include_package_data
=True,
36 keywords
='cached-property',
38 'Development Status :: 4 - Beta',
39 'Intended Audience :: Developers',
40 'License :: OSI Approved :: BSD License',
41 'Natural Language :: English',
42 "Programming Language :: Python :: 2",
43 'Programming Language :: Python :: 2.6',
44 'Programming Language :: Python :: 2.7',
45 'Programming Language :: Python :: 3',
46 'Programming Language :: Python :: 3.3',
47 'Programming Language :: Python :: 3.4',