Create pth files after an install.

@nuoyan