scons: Move python path management out of the SConstruct.
authorGabe Black <gabeblack@google.com>
Thu, 9 Nov 2017 03:25:42 +0000 (19:25 -0800)
committerGabe Black <gabeblack@google.com>
Fri, 10 Nov 2017 13:17:15 +0000 (13:17 +0000)
commit91d942a9da18b77b8a0652bc5f07f2e129b8504e
treea882b3c8f2ad7c37aab747429621ff12432d4312
parent902b3e34beaadaa2ac2932a9ff93f08008a4b16f
scons: Move python path management out of the SConstruct.

Make site_init.py manage sys.path, and the "default" tool set
PYTHONPATH on any environment that's created. The paths to add are
tracked in a common gem5_python_paths.py.

Change-Id: I3387d4394d47a2f9c83322644cfd05909c6890fa
Reviewed-on: https://gem5-review.googlesource.com/5564
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
SConstruct
site_scons/gem5_python_paths.py [new file with mode: 0644]
site_scons/site_init.py
site_scons/site_tools/default.py