Omit py_modules in setup by EliahKagan · Pull Request #1665 · gitpython-developers/GitPython (original) (raw)

This removes the py_modules keyword argument in the call to setup, and further shortens/simplifies setup.py by removing the now-unused build_py_modules function.

The packages keyword argument already covers this, because we have no loose modules that are included in the distribution, and the call to find_packages:

To verify that this includes the same files in the built wheel and sdist distributions, I have listed the contents of the wheel with "unzip -l" and the sdist .tar.gz file with "tar tf" both before and after this change, verifying they list all the same entries.