diff options
author | Patrick <pnpnpn@users.noreply.github.com> | 2015-03-17 18:36:49 -0400 |
---|---|---|
committer | Patrick <pnpnpn@users.noreply.github.com> | 2015-03-17 18:36:49 -0400 |
commit | 3d66d09b20c6de36f35ec582b9c7716ba83eb641 (patch) | |
tree | dd1761f3b6ca79f5226b210025d2f8b68896aaad /setup.py | |
parent | 2304ff00ac08985ead06d0225591fa6508772ab2 (diff) | |
parent | b1edeeaa1d68b5f84becdbd31cfef0ac690bd2a7 (diff) | |
download | timeout-decorator-3d66d09b20c6de36f35ec582b9c7716ba83eb641.tar.gz |
Merge pull request #16 from bubenkoff/multithreading-support
Added optional threading support via python multiprocessing.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 36 |
1 files changed, 21 insertions, 15 deletions
@@ -1,5 +1,6 @@ -# -*- coding: utf-8 -*- -import sys +"""Setuptools entry point.""" +import codecs +import os try: from setuptools import setup @@ -7,7 +8,7 @@ except ImportError: from distutils.core import setup -CLASSIFIERS=[ +CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', @@ -15,18 +16,23 @@ CLASSIFIERS=[ 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules' - ] +] -setup( - name='timeout-decorator', - version='0.2.1', - description='Timeout decorator', - long_description = open('README.md').read(), - author='PN', - author_email='pn.appdev@gmail.com', - url='https://github.com/pnpnpn/timeout-decorator', - packages=['timeout_decorator'], - install_requires=[], - classifiers=CLASSIFIERS) +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.3.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) |