summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2015-03-16 11:13:06 +0100
committerMichele Simionato <michele.simionato@gmail.com>2015-03-16 11:13:06 +0100
commit5d0a05302b850386b2b71ff281c58db333ac7e78 (patch)
treee8ccc92a2336ee1a5bed53a503776888a3929e91 /setup.py
parent3e2bd43069fa1837d77f8ab2079044a44aaedd66 (diff)
downloadpython-decorator-git-5d0a05302b850386b2b71ff281c58db333ac7e78.tar.gz
Initial changes for decorator 3.4.1
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 8190acd..ac1e68b 100644
--- a/setup.py
+++ b/setup.py
@@ -4,6 +4,7 @@ except ImportError:
from distutils.core import setup
import os.path
+
def getversion(fname):
"""Get the __version__ reading the file: works both in Python 2.X and 3.X,
whereas direct importing would break in Python 3.X with a syntax error"""
@@ -19,13 +20,13 @@ if __name__ == '__main__':
setup(name='decorator',
version=VERSION,
description='Better living through Python with decorators',
- long_description=open('README.txt').read(),
+ long_description=open('README.rst').read(),
author='Michele Simionato',
author_email='michele.simionato@gmail.com',
url='http://pypi.python.org/pypi/decorator',
license="BSD License",
- package_dir = {'': 'src'},
- py_modules = ['decorator'],
+ package_dir={'': 'src'},
+ py_modules=['decorator'],
keywords="decorators generic utility",
platforms=["All"],
classifiers=['Development Status :: 5 - Production/Stable',