Macports and PYTHONPATH

Setting up my new macbook, I've had to go through the joy and pleasure that is macports. Overall, it wasn't so bad. A few missing packages here or there. Everything was going fine until I tried to install Fabric. Its dependency on pycrypto kept failing. I had installed pycrypto via macports and no luck. Turns out there are two paths under opt which need to be added to the python path in order to get it to work.

  /opt/local/lib/python/site-packages
  /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/

After adding those, things work perfectly. Hope it helps someone!