[rtems-docs commit] build: Prepend project common path

Sebastian Huber sebh at rtems.org
Fri Feb 8 08:43:38 UTC 2019


Module:    rtems-docs
Branch:    master
Commit:    6f110ccf6b2a9e142859874e401888dc9c2c2b2f
Changeset: http://git.rtems.org/rtems-docs/commit/?id=6f110ccf6b2a9e142859874e401888dc9c2c2b2f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Feb  8 09:41:45 2019 +0100

build: Prepend project common path

This avoids conflicts with standard packages such as PIL (Python Imaging
Library).

---

 book/conf.py             | 2 +-
 book/wscript             | 2 +-
 bsp-howto/conf.py        | 2 +-
 bsp-howto/wscript        | 2 +-
 c-user/conf.py           | 2 +-
 c-user/wscript           | 2 +-
 cpu-supplement/conf.py   | 2 +-
 cpu-supplement/wscript   | 2 +-
 develenv/conf.py         | 2 +-
 develenv/wscript         | 2 +-
 eclipse/conf.py          | 2 +-
 eclipse/wscript          | 2 +-
 eng/conf.py              | 2 +-
 eng/wscript              | 2 +-
 filesystem/conf.py       | 2 +-
 filesystem/wscript       | 2 +-
 images/wscript           | 2 +-
 networking/conf.py       | 2 +-
 networking/wscript       | 2 +-
 porting/conf.py          | 2 +-
 porting/wscript          | 2 +-
 posix-compliance/conf.py | 2 +-
 posix-compliance/wscript | 2 +-
 posix-users/conf.py      | 2 +-
 posix-users/wscript      | 2 +-
 rtemsconfig/conf.py      | 2 +-
 rtemsconfig/wscript      | 2 +-
 shell/conf.py            | 2 +-
 shell/wscript            | 2 +-
 user/conf.py             | 2 +-
 user/wscript             | 2 +-
 wscript                  | 2 +-
 32 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/book/conf.py b/book/conf.py
index 4726f1e..01861b3 100644
--- a/book/conf.py
+++ b/book/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/book/wscript b/book/wscript
index 0503604..d1eba3f 100644
--- a/book/wscript
+++ b/book/wscript
@@ -1,6 +1,6 @@
 from sys import path
 from os.path import abspath, exists
-path.append(abspath('../common/'))
+path.insert(0, abspath('../common/'))
 
 from waf import cmd_configure_path, cmd_build_path, cmd_options_path, spell, cmd_spell
 
diff --git a/bsp-howto/conf.py b/bsp-howto/conf.py
index 0b380b3..f5fb859 100644
--- a/bsp-howto/conf.py
+++ b/bsp-howto/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/bsp-howto/wscript b/bsp-howto/wscript
index 26ab0ca..1cb5736 100644
--- a/bsp-howto/wscript
+++ b/bsp-howto/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
diff --git a/c-user/conf.py b/c-user/conf.py
index e2c2791..d41b3a5 100644
--- a/c-user/conf.py
+++ b/c-user/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/c-user/wscript b/c-user/wscript
index 26ab0ca..1cb5736 100644
--- a/c-user/wscript
+++ b/c-user/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
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
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
diff --git a/eclipse/conf.py b/eclipse/conf.py
index 63c327f..2adc01f 100644
--- a/eclipse/conf.py
+++ b/eclipse/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/eclipse/wscript b/eclipse/wscript
index 26ab0ca..1cb5736 100644
--- a/eclipse/wscript
+++ b/eclipse/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
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
diff --git a/filesystem/conf.py b/filesystem/conf.py
index 11ff284..d50ba13 100644
--- a/filesystem/conf.py
+++ b/filesystem/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/filesystem/wscript b/filesystem/wscript
index 26ab0ca..1cb5736 100644
--- a/filesystem/wscript
+++ b/filesystem/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
diff --git a/images/wscript b/images/wscript
index 41a9308..142b150 100644
--- a/images/wscript
+++ b/images/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_images as build
diff --git a/networking/conf.py b/networking/conf.py
index 2f1b64e..1c129bc 100644
--- a/networking/conf.py
+++ b/networking/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/networking/wscript b/networking/wscript
index 26ab0ca..1cb5736 100644
--- a/networking/wscript
+++ b/networking/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
diff --git a/porting/conf.py b/porting/conf.py
index 7d8c421..d26731d 100644
--- a/porting/conf.py
+++ b/porting/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/porting/wscript b/porting/wscript
index 26ab0ca..1cb5736 100644
--- a/porting/wscript
+++ b/porting/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
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
diff --git a/posix-users/conf.py b/posix-users/conf.py
index 2086ae9..649f84c 100644
--- a/posix-users/conf.py
+++ b/posix-users/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-users/wscript b/posix-users/wscript
index 26ab0ca..1cb5736 100644
--- a/posix-users/wscript
+++ b/posix-users/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
diff --git a/rtemsconfig/conf.py b/rtemsconfig/conf.py
index bde195e..99402f8 100644
--- a/rtemsconfig/conf.py
+++ b/rtemsconfig/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/rtemsconfig/wscript b/rtemsconfig/wscript
index 26ab0ca..1cb5736 100644
--- a/rtemsconfig/wscript
+++ b/rtemsconfig/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
diff --git a/shell/conf.py b/shell/conf.py
index 00029bc..ca84ce0 100644
--- a/shell/conf.py
+++ b/shell/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/shell/wscript b/shell/wscript
index 26ab0ca..1cb5736 100644
--- a/shell/wscript
+++ b/shell/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
diff --git a/user/conf.py b/user/conf.py
index b644cee..134ec61 100644
--- a/user/conf.py
+++ b/user/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/user/wscript b/user/wscript
index 26ab0ca..1cb5736 100644
--- a/user/wscript
+++ b/user/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
diff --git a/wscript b/wscript
index 32cca2a..f10fcb4 100644
--- a/wscript
+++ b/wscript
@@ -5,7 +5,7 @@
 import sys
 import os.path
 
-sys.path.append(os.path.abspath('common'))
+sys.path.insert(0, os.path.abspath('common'))
 
 import waflib
 import waf as docs_waf




More information about the vc mailing list