build: Prepend project common path

This avoids conflicts with standard packages such as PIL (Python Imaging
Library).
This commit is contained in:
Sebastian Huber
2019-02-08 09:41:45 +01:00
parent 0e46b342d0
commit 6f110ccf6b
32 changed files with 32 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath, exists 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 from waf import cmd_configure_path, cmd_build_path, cmd_options_path, spell, cmd_spell

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build_images as build from waf import cmd_build_images as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as doc_build from waf import cmd_build as doc_build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -1,5 +1,5 @@
import sys, os import sys, os
sys.path.append(os.path.abspath('../common/')) sys.path.insert(0, os.path.abspath('../common/'))
from conf import * from conf import *

View File

@@ -1,6 +1,6 @@
from sys import path from sys import path
from os.path import abspath 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_configure as configure
from waf import cmd_build as build from waf import cmd_build as build

View File

@@ -5,7 +5,7 @@
import sys import sys
import os.path import os.path
sys.path.append(os.path.abspath('common')) sys.path.insert(0, os.path.abspath('common'))
import waflib import waflib
import waf as docs_waf import waf as docs_waf