[Python-modules-commits] [python-hypothesis] 03/10: Delay __version__ import.

Tristan Seligmann mithrandi at moszumanska.debian.org
Wed Dec 20 07:10:18 UTC 2017


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

mithrandi pushed a commit to branch master
in repository python-hypothesis.

commit e03989772bed13547b4f13e3b77db8b9594d1b6e
Author: Tristan Seligmann <mithrandi at debian.org>
Date:   Fri Jul 7 14:43:57 2017 +0200

    Delay __version__ import.
---
 docs/conf.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/conf.py b/docs/conf.py
index 20ad9cd..5b321ae 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -23,10 +23,14 @@ import os
 import sys
 import datetime
 
+on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
+
 sys.path.append(
     os.path.join(os.path.dirname(__file__), '..', 'src')
 )
 
+from hypothesis import __version__
+
 
 autodoc_member_order = 'bysource'
 

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



More information about the Python-modules-commits mailing list