Under normal market conditions, either the demand and price will naturally incentivize generics to enter the market (even at high costs), or this is really not much of a story because the total addressable market is so small that price * demand won't significantly move the needle in the books of insurance companies who will be paying for it. If total addressable market is significant and the producers can manipulate the market in ways outside of patents to abuse monopoly power, then that's the misdeed (in my opinion), not the raising of prices.
In other words, with very few exceptions it's futile to blame a company for their prices. On the other hand, if unscrupulous manipulation of a market is the culprit for unreasonable prices, that's where we should demand/enforce a higher standard.
[1] https://en.wikipedia.org/wiki/Pyrimethamine
Edit: I noticed that paulmd, further down, explained why this is important. I didn't realize the rules were this stupid. The FDA should be able to force companies to make their product available for comparison testing. It's insane that it isn't the case.
But in order to perform that testing, they need examples of the brand-name drug to test against. If a manufacturer can prevent them from gaining access to those examples, then the generic is never coming to market. They can't get a doctor to just write up a prescription for somebody, so they have to go through established distribution channels. There are a lot of other, equally nasty ways manufacturers can use to try and forestall generic versions of their drugs. It's not easy to do, because the laws are written to incentivize generic competition, but if a company thinks it's profitable enough to try (and certain factors are in their favor, like with Daraprim), they can.
The FTC has a really interesting document available on their ongoing efforts to fight anti-competitive pharmaceutical practices if you're interested:
https://www.ftc.gov/system/files/attachments/us-submissions-...
But none of that excuses what these guys (I don't have any reasonable word to describe them). Its like saying there was this loophole that makes this kind of murder (not self defense btw.) not punishable by law so I went ahead and killed 50 people. If people dies from these diseases I don't see how it's not fair to put these guys in some murder trail. I wish we had some reliable tools to detect lies and CEOs and PR guys like these had to pass the test before such claims and actions based off such claims (we are trying to make a better drug) could be taken.