Skip to content

Commit 44d59f7

Browse files
committed
sys.path when interfaces.py is invoked
per: https://sourceforge.net/p/roundup/mailman/message/26389589/ Document that tracker lib and other tracker specific module dirs are not on the sys.path when interfaces.py is invoked.
1 parent c0d7fea commit 44d59f7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/customizing.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,8 +1411,11 @@ but with great power comes great responsibility.
14111411

14121412
Interfaces.py has been around since the earliest releases of roundup
14131413
and used to be the main way to get a lot of customization done. In
1414-
modern roundup, the extensions_ mechanism is used, but there are places
1415-
where interfaces.py is still useful.
1414+
modern roundup, the extensions_ mechanism is used, but there are
1415+
places where interfaces.py is still useful. Note that the tracker
1416+
directories are not on the Python system path when interfaces.py is
1417+
evaluated. You need to add library directories explicty by
1418+
modifying sys.path.
14161419

14171420
Example: Changing Cache-Control headers
14181421
---------------------------------------

0 commit comments

Comments
 (0)