I can not make TextMate2 to get my PYTHONPATH.
Things I tried:
This is how I verify that the PYTHONPATH is still not the one it ought to be (as compared to in an iPython session):
import sys
print(sys.path)
The answer was like point 4, but slightly different:
set PYTHONPATH, not TM_PYTHONPATH as the environment variable in the TM2 preferences. (Thanks to Rob McBroom who pointed that out on the mailing list.)