[Python-modules-commits] [python-click-threading] 01/05: Import python-click-threading_0.4.3.orig.tar.gz

Filip Pytloun fpytloun-guest at moszumanska.debian.org
Tue Jan 17 18:53:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

fpytloun-guest pushed a commit to branch master
in repository python-click-threading.

commit 09288b0632585c754fe840aa3b1211dbbfad5118
Author: Filip Pytloun <filip at pytloun.cz>
Date:   Tue Jan 17 19:49:58 2017 +0100

    Import python-click-threading_0.4.3.orig.tar.gz
---
 click_threading/__init__.py |  2 +-
 docs/conf.py                | 11 ++---------
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/click_threading/__init__.py b/click_threading/__init__.py
index 7d9eab6..3d022d0 100644
--- a/click_threading/__init__.py
+++ b/click_threading/__init__.py
@@ -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'
 
diff --git a/docs/conf.py b/docs/conf.py
index 9e2d488..48a8530 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -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'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-click-threading.git



More information about the Python-modules-commits mailing list