summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py21
1 files changed, 9 insertions, 12 deletions
diff --git a/setup.py b/setup.py
index 3b18292..ea094e8 100644
--- a/setup.py
+++ b/setup.py
@@ -6,26 +6,23 @@ except ImportError:
VERSION = '3.0.0'
if __name__ == '__main__':
+ try:
+ docfile = file('/tmp/documentation.html')
+ except IOError: # file not found, ignore
+ doc = ''
+ else:
+ doc = docfile.read()
setup(name='decorator',
version=VERSION,
description='Better living through Python with decorators',
- long_description="""\
- As of now, writing custom decorators correctly requires some experience
- and it is not as easy as it could be. For instance, typical implementations
- of decorators involve nested functions, and we all know
- that flat is better than nested. Moreover, typical implementations
- of decorators do not preserve the signature of decorated functions,
- thus confusing both documentation tools and developers.
-
- The aim of the decorator module it to simplify the usage of decorators
- for the average programmer, and to popularize decorators usage giving
- examples of useful decorators, such as memoize, tracing, threaded, etc.""",
+ long_description=doc,
author='Michele Simionato',
author_email='michele.simionato@gmail.com',
url='http://pypi.python.org/pypi/decorator',
license="BSD License",
py_modules = ['decorator'],
keywords="decorators generic utility",
+ platforms=["All"],
classifiers=['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
@@ -34,5 +31,5 @@ if __name__ == '__main__':
'Programming Language :: Python',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities'],
- zip_safe=False)
+ zip_safe=False)