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). --- posix-compliance/conf.py | 2 +- posix-compliance/wscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'posix-compliance') diff --git a/posix-compliance/conf.py b/posix-compliance/conf.py index 2a7faee..ae80d41 100644 --- a/posix-compliance/conf.py +++ b/posix-compliance/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/posix-compliance/wscript b/posix-compliance/wscript index 376ee76..7ff4013 100644 --- a/posix-compliance/wscript +++ b/posix-compliance/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 doc_build -- cgit v1.2.3