Browse Source

Add requirements.txt for readthedocs.org

Wojtek Porczyk 8 years ago
parent
commit
ff28ced03f
3 changed files with 6 additions and 0 deletions
  1. 1 0
      doc/conf.py
  2. 3 0
      doc/requirements.txt
  3. 2 0
      test-packages/dbus.py

+ 1 - 0
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 -----------------------------------------------------
 

+ 3 - 0
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

+ 2 - 0
test-packages/dbus.py

@@ -0,0 +1,2 @@
+class DBusException(Exception):
+    pass