wscript overwrites PYTHONPATH

Bug #521196 reported by EliotBlennerhassett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyBindGen
Fix Released
Undecided
Unassigned

Bug Description

If an existing PYTHONPATH is set, this is overwritten in processes spawned from the wscript.

For instance if I install pygccxml in my own directory specified in PYTHONPATH, it can't be found by waf configure.

os.environ['PYTHONPATH'] = os.getcwd()

should be replaced with something like this:

os.environ['PYTHONPATH'] = os.getcwd()+':'+os.environ['PYTHONPATH']
(not sure how to do this in os independent way)

Related branches

Gustavo Carneiro (gjc)
Changed in pybindgen:
status: New → Confirmed
Gustavo Carneiro (gjc)
Changed in pybindgen:
status: Confirmed → Fix Committed
Gustavo Carneiro (gjc)
Changed in pybindgen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.