I don't think women have to even be pushed away. I would assert (and am more than happy to be proven wrong) that in many if not most undertakings where the ratio of hours of fun to non-fun (I wish I had a better way to describe what I'm thinking) are low, you will find a lack of females. One example is "hardcore" personal investing, I'm talking investing forums, twitter, etc - if you are familiar with them, once again you will notice it is a sausage-fest. Women aren't pushed out of these communities or discriminated against, they simply are just extremely disproportionately not present.
For whatever reason, I think woman who choose to excel in a field tend to focus on endeavors with clearer and more structured formal paths. For example, you will find plenty of female representation in finance in universities and as career professionals. But after quitting time, the people putting in the extra hours in forums and on twitter are disproportionately male, as are the people who have been coding multiple hours per day since under 10 years old, or multiple hours after quitting time once in their professional lives. These are simple facts. Only when race or gender is involved would anyone ever suggest this not relevant to success.