generalize the seemingly incorrect number of required packages
Merge pull request #956 from mrooney/patch-1

generalize the seemingly incorrect number of required packages