Title: Omit py_modules in setup by EliahKagan · Pull Request #1665 · gitpython-developers/GitPython · GitHub
Open Graph Title: Omit py_modules in setup by EliahKagan · Pull Request #1665 · gitpython-developers/GitPython
X Title: Omit py_modules in setup by EliahKagan · Pull Request #1665 · gitpython-developers/GitPython
Description: This removes the py_modules keyword argument in the call to setup, and further shortens/simplifies setup.py by removing the newly 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: Omits everything in test/ because it is directed to do so in the call. Omits the gitdb/ directory (currently existing as a git submodule, not to be confused with Python submodules). This is because the ext/ directory that contains it does not itself directly contain an __init__.py file, so ext/ is not a traditional package, yet ext/ is contained and found inside the directory git/ that is a traditional package, so the ext/ directory is not a namespace package either. Includes all other modules, recursively, because they are all in a recursive traditional package structure under git/ that find_packages recognizes. 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 before and after.
Open Graph Description: This removes the py_modules keyword argument in the call to setup, and further shortens/simplifies setup.py by removing the newly unused build_py_modules function. The packages keyword argument alr...
X Description: This removes the py_modules keyword argument in the call to setup, and further shortens/simplifies setup.py by removing the newly unused build_py_modules function. The packages keyword argument alr...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1665
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d38cb32c-d08f-c1d2-05b8-2513a70bbf5c |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9BE2:29FB4:4E237:68649:696856BF |
| html-safe-nonce | 3d25a71fdfd335fa160c2a50eda54947a4f779a9fa66b1fdad4b4ef49364fdd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkUyOjI5RkI0OjRFMjM3OjY4NjQ5OjY5Njg1NkJGIiwidmlzaXRvcl9pZCI6Ijc4NTMzMDAxNDAwMzY2MDk3MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4b4da15dad53b32805aff7d502a9b49c5d8019291e58350c15cfbb0e8889c5e9 |
| hovercard-subject-tag | pull_request:1518828955 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/gitpython-developers/GitPython/pull/1665/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1771172?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1771172?s=400&v=4 |
| og:image:alt | This removes the py_modules keyword argument in the call to setup, and further shortens/simplifies setup.py by removing the newly unused build_py_modules function. The packages keyword argument alr... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f16c57f41ed243e5b4dfe9b9bcd6828bd83080b1b6dbb4ff239bbe9745f12e0c |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cfa7062cc6d4fe8fcb156bd33f4c97bd3b2470af |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width