2 # -*- coding: utf-8 -*-
9 from setuptools
import setup
11 from distutils
.core
import setup
14 readme
= open('README.rst').read()
15 history
= open('HISTORY.rst').read().replace('.. :changelog:', '')
18 import cached_property
20 if sys
.argv
[-1] == 'publish':
21 os
.system('python setup.py sdist bdist_wheel upload')
22 print("You probably want to also tag the version now:")
23 print(" git tag -a %s -m 'version %s'" % (cached_property
.__version
__,
24 cached_property
.__version
__))
25 print(" git push --tags")
29 name
='cached-property',
30 version
=cached_property
.__version
__,
31 description
='A cached-property for decorating methods in classes.',
32 long_description
=readme
+ '\n\n' + history
,
33 author
='Daniel Greenfeld',
34 author_email
='pydanny@gmail.com',
35 url
='https://github.com/pydanny/cached-property',
36 py_modules
=['dj_database_url'],
37 include_package_data
=True,
40 keywords
='cached-property',
42 'Development Status :: 4 - Beta',
43 'Intended Audience :: Developers',
44 'License :: OSI Approved :: BSD License',
45 'Natural Language :: English',
46 "Programming Language :: Python :: 2",
47 'Programming Language :: Python :: 2.6',
48 'Programming Language :: Python :: 2.7',
49 'Programming Language :: Python :: 3',
50 'Programming Language :: Python :: 3.3',