summaryrefslogtreecommitdiff
path: root/setup.py
blob: ea094e89640be0d4c2469b82f47e2dff30cf0517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

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=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',
                       'Natural Language :: English',
                       'Operating System :: OS Independent',
                       'Programming Language :: Python',
                       'Topic :: Software Development :: Libraries',
                       'Topic :: Utilities'],
          zip_safe=False)