Fuse box mounting locations

Recently I have bought a painless wiring harness, and I am about to start installation. I have a leak in my windshield so I don't want to mount the fuse block under the dash. What other locations would work well? Could I maybe mount it in the engine compartment?