1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 00:07:38 +00:00

sphinx: fix sys.path so it finds the borg package

This commit is contained in:
Thomas Waldmann 2016-05-30 23:00:33 +02:00
parent 0aec338761
commit d62f55158e

View file

@ -15,7 +15,7 @@
# 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.
import sys, os
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../src'))
from borg import __version__ as sw_version