Install python module in the staging directory

This commit is contained in:
Ray Speth 2012-01-27 19:31:39 +00:00
parent 51a7fc1278
commit d5e500d3cc

View file

@ -690,6 +690,7 @@ else:
# variables should always be used by the Install(...) targets
if env['stage_dir']:
instRoot = pjoin(os.getcwd(), env['stage_dir'], stripDrive(env['prefix']).strip('/\\'))
env['python_prefix'] = pjoin(os.getcwd(), env['stage_dir'], stripDrive(env['python_prefix']).strip('/\\'))
else:
instRoot = env['prefix']