Import python-click-threading_0.4.3.orig.tar.gz
This commit is contained in:
parent
ddbbcb36c6
commit
09288b0632
|
@ -21,7 +21,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from futures import Future as _Future
|
from futures import Future as _Future
|
||||||
|
|
||||||
__version__ = '0.4.2'
|
__version__ = '0.4.3'
|
||||||
|
|
||||||
_CTX_WORKER_KEY = __name__ + '.uiworker'
|
_CTX_WORKER_KEY = __name__ + '.uiworker'
|
||||||
|
|
||||||
|
|
11
docs/conf.py
11
docs/conf.py
|
@ -25,15 +25,8 @@ project = 'click_threading'
|
||||||
with open(os.path.join(os.path.dirname(__file__), '../LICENSE')) as f:
|
with open(os.path.join(os.path.dirname(__file__), '../LICENSE')) as f:
|
||||||
copyright = next(iter(f))[len('Copyright (c) '):]
|
copyright = next(iter(f))[len('Copyright (c) '):]
|
||||||
|
|
||||||
try:
|
import click_threading
|
||||||
# The full version, including alpha/beta/rc tags.
|
release = click_threading.__version__
|
||||||
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)
|
|
||||||
|
|
||||||
version = '.'.join(release.split('.')[:2]) # The short X.Y version.
|
version = '.'.join(release.split('.')[:2]) # The short X.Y version.
|
||||||
|
|
||||||
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
||||||
|
|
Loading…
Reference in a new issue