This change monkey patches setuptools' code generation functionality, so that pkg_resources won't be imported in the generated file. Fixes #172