build: fix include paths so that __file__ is absolute not relative (#18997)

This commit is contained in:
Samuel Attard 2019-06-26 11:32:42 -07:00 committed by GitHub
parent 6243dba068
commit c1ad0725d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 5 deletions

View file

@ -7,7 +7,8 @@ import shutil
import sys
import tempfile
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../..")
sys.path.append(
os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + "/../.."))
from lib.config import s3_config
from lib.util import download, rm_rf, s3put, safe_mkdir