summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rwxr-xr-xSConstruct11
1 files changed, 0 insertions, 11 deletions
diff --git a/SConstruct b/SConstruct
index f0a3b655d..9816c86be 100755
--- a/SConstruct
+++ b/SConstruct
@@ -95,13 +95,6 @@ from os.path import join as joinpath, split as splitpath
import SCons
import SCons.Node
-extra_python_paths = [
- Dir('src/python').srcnode().abspath, # gem5 includes
- Dir('ext/ply').srcnode().abspath, # ply is used by several files
- ]
-
-sys.path[1:1] = extra_python_paths
-
from m5.util import compareVersions, readCommand
from m5.util.terminal import get_termcap
@@ -192,10 +185,6 @@ if not ('CC' in main_dict_keys and 'CXX' in main_dict_keys):
print "No C++ compiler installed (package g++ on Ubuntu and RedHat)"
Exit(1)
-# add useful python code PYTHONPATH so it can be used by subprocesses
-# as well
-main.AppendENVPath('PYTHONPATH', extra_python_paths)
-
###################################################
#
# Figure out which configurations to set up based on the path(s) of