From ff28ced03f872f795e8bfc2dee4efb540607b8c3 Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Fri, 22 Apr 2016 15:23:57 +0200 Subject: [PATCH] Add requirements.txt for readthedocs.org --- doc/conf.py | 1 + doc/requirements.txt | 3 +++ test-packages/dbus.py | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 doc/requirements.txt create mode 100644 test-packages/dbus.py diff --git a/doc/conf.py b/doc/conf.py index f560ae0b..fb94d404 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -20,6 +20,7 @@ import time # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('../')) +sys.path.insert(1, os.path.abspath('../test-packages')) # -- General configuration ----------------------------------------------------- diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 00000000..3dd3d0df --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,3 @@ +# WARNING: those requirements are used only for readthedocs.org +# they SHOULD NOT be used under normal conditions; use system package manager +lxml diff --git a/test-packages/dbus.py b/test-packages/dbus.py new file mode 100644 index 00000000..a03885d1 --- /dev/null +++ b/test-packages/dbus.py @@ -0,0 +1,2 @@ +class DBusException(Exception): + pass