1 """Setuptools entry point."""
2 import codecs
3 import os
4 
5 try:
6     from setuptools import setup
7 except ImportError:
8     from distutils.core import setup
9 
10 
11 CLASSIFIERS = [
12     'Development Status :: 4 - Beta',
13     'Intended Audience :: Developers',
14     'License :: OSI Approved :: MIT License',
15     'Natural Language :: English',
16     'Operating System :: OS Independent',
17     'Programming Language :: Python',
18     'Topic :: Software Development :: Libraries :: Python Modules'
19 ]
20 
21 dirname = os.path.dirname(__file__)
22 
23 long_description = (
24     codecs.open(os.path.join(dirname, 'README.rst'), encoding='utf-8').read() + '\n' +
25     codecs.open(os.path.join(dirname, 'CHANGES.rst'), encoding='utf-8').read()
26 )
27 
28 setup(
29     name='timeout-decorator',
30     version='0.5.0',
31     description='Timeout decorator',
32     long_description=long_description,
33     author='Patrick Ng',
34     author_email='pn.appdev@gmail.com',
35     url='https://github.com/pnpnpn/timeout-decorator',
36     packages=['timeout_decorator'],
37     install_requires=[],
38     classifiers=CLASSIFIERS)
39