From 6f110ccf6b2a9e142859874e401888dc9c2c2b2f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 8 Feb 2019 09:41:45 +0100 Subject: build: Prepend project common path This avoids conflicts with standard packages such as PIL (Python Imaging Library). --- eng/conf.py | 2 +- eng/wscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'eng') diff --git a/eng/conf.py b/eng/conf.py index d44e8b7..eb838fd 100644 --- a/eng/conf.py +++ b/eng/conf.py @@ -1,5 +1,5 @@ import sys, os -sys.path.append(os.path.abspath('../common/')) +sys.path.insert(0, os.path.abspath('../common/')) from conf import * diff --git a/eng/wscript b/eng/wscript index 26ab0ca..1cb5736 100644 --- a/eng/wscript +++ b/eng/wscript @@ -1,6 +1,6 @@ from sys import path from os.path import abspath -path.append(abspath('../common/')) +path.insert(0, abspath('../common/')) from waf import cmd_configure as configure from waf import cmd_build as build -- cgit v1.2.3