If I was a woman, I'd rather apply for someone looking for a developer, than someone looking for a woman - because then I knew I was hired because of my skills and personality - not my gender.
In legal terms, this is pretty much what you can do. You can hire a "person" not a person of a specific gender.