From 7fb02c0aed8cb97384515d7681c29880326c1909 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 30 Jan 2019 18:09:21 +0100 Subject: [PATCH] Add Doc/requirements.txt for Read the Docs build (#260) 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. --- Doc/requirements.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Doc/requirements.txt diff --git a/Doc/requirements.txt b/Doc/requirements.txt new file mode 100644 index 0000000..7102362 --- /dev/null +++ b/Doc/requirements.txt @@ -0,0 +1,2 @@ +pyasn1 +pyasn1_modules