1"""Setuptools entry point.""" 2import codecs 3import os 4 5try: 6 from setuptools import setup 7except ImportError: 8 from distutils.core import setup 9 10 11CLASSIFIERS = [ 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 21dirname = os.path.dirname(__file__) 22 23long_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 28setup( 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