I'm not really sure how this was going wrong, but this seems like the right approach anyway.
Workaround for jaraco/zipp#40