Import python-click-threading_0.4.3.orig.tar.gz

This commit is contained in:
Filip Pytloun 2017-01-17 19:49:58 +01:00
parent ddbbcb36c6
commit 09288b0632
2 changed files with 3 additions and 10 deletions

View File

@ -21,7 +21,7 @@ try:
except ImportError:
from futures import Future as _Future
__version__ = '0.4.2'
__version__ = '0.4.3'
_CTX_WORKER_KEY = __name__ + '.uiworker'

View File

@ -25,15 +25,8 @@ project = 'click_threading'
with open(os.path.join(os.path.dirname(__file__), '../LICENSE')) as f:
copyright = next(iter(f))[len('Copyright (c) '):]
try:
# The full version, including alpha/beta/rc tags.
release = pkg_resources.require(project)[0].version
except pkg_resources.DistributionNotFound:
print('To build the documentation, the distribution information of '
'{} has to be available. Run "setup.py develop" to do '
'this.'.format(project))
sys.exit(1)
import click_threading
release = click_threading.__version__
version = '.'.join(release.split('.')[:2]) # The short X.Y version.
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'