Has anyone done this before, and if so, how do you set up your development environment?
You need the official PS3 SDK, which costs about $ 10,000. I'm sure they include all instructions.
Alternatively PS3 supports Linux (Fedora Core 8); it's not the newest distribution in the world, but if you want to write your own PS3-specific code then the place to start.