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). --- cpu-supplement/conf.py | 2 +- cpu-supplement/wscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpu-supplement') diff --git a/cpu-supplement/conf.py b/cpu-supplement/conf.py index 919d84c..00e4d23 100644 --- a/cpu-supplement/conf.py +++ b/cpu-supplement/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/cpu-supplement/wscript b/cpu-supplement/wscript index 26ab0ca..1cb5736 100644 --- a/cpu-supplement/wscript +++ b/cpu-supplement/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