Source

pypy-sandbox-4-pycode / py / __metainfo.py

Full commit
import py
pydir = py.path.local(py.__file__).dirpath()