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 36 37 38
|
"""Setuptools entry point."""
import codecs
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
dirname = os.path.dirname(__file__)
long_description = (
codecs.open(os.path.join(dirname, 'README.rst'), encoding='utf-8').read() + '\n' +
codecs.open(os.path.join(dirname, 'CHANGES.rst'), encoding='utf-8').read()
)
setup(
name='timeout-decorator',
version='0.5.0',
description='Timeout decorator',
long_description=long_description,
author='Patrick Ng',
author_email='pn.appdev@gmail.com',
url='https://github.com/pnpnpn/timeout-decorator',
packages=['timeout_decorator'],
install_requires=[],
classifiers=CLASSIFIERS)
|