Skip to content

Commit

Permalink
Add Doc/requirements.txt for Read the Docs build (#260)
Browse files Browse the repository at this point in the history
The documentation build uses docstrings from the code, and so it
needs the code to be importable.
We already use a fake _ldap module for cases where the C compiler
is not available, like on Read the Docs.

Another issue on Read the Docs is that the pyasn1 dependency needs
to be installed. This can't be done automatically via setup.py
install, as that would attempt to build C code.

Instead, add a documentation-only "requirements.txt", which we can
point Read the Docs to.
  • Loading branch information
Petr Viktorin authored and GitHub committed Jan 30, 2019
1 parent 2059c13 commit 7fb02c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pyasn1
pyasn1_modules

0 comments on commit 7fb02c0

Please sign in to comment.