Permalink
Browse files

setup.py: Make docs not depend on tinydtls

That used to reside in the readthedocs fixes branch, but that it is not
required for docs is true in general.

This makes that branch obsolete again (ie. aiocoap docs can be built
from master again), as by now, no requirements.txt with `-e
git+https://github.com/rtfd/recommonmark.git#egg=recommonmark` is needed
any more to get a recent recommonmark that works with sphinx-argparse.
  • Loading branch information...
chrysn committed Apr 25, 2018
1 parent 8576716 commit b31cf31d59b487b00e9ada24f2c791a78f9bbb8f
Showing with 7 additions and 1 deletion.
  1. +7 −1 setup.py
View
@@ -38,7 +38,13 @@
for k, v in extras_require.items():
if k.startswith(':') or k == 'all' or k == 'docs':
continue
extras_require['docs'].extend(v)
# Most extras are required for docs to build. TinyDTLS is an exception
# because no module imports it at module level. (This is convenient also
# because TinyDTLS installation fails on readthedocs for unknown reasons.)
if k != 'tinydtls':
extras_require['docs'].extend(v)
extras_require['all'].extend(v)
if k in test_extras:
tests_require.extend(v)

0 comments on commit b31cf31

Please sign in to comment.