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). --- develenv/conf.py | 2 +- develenv/wscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'develenv') diff --git a/develenv/conf.py b/develenv/conf.py index f902791..3ceba53 100644 --- a/develenv/conf.py +++ b/develenv/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/develenv/wscript b/develenv/wscript index 26ab0ca..1cb5736 100644 --- a/develenv/wscript +++ b/develenv/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