it seems to me that moving from the procedural setup.py to the declarative setup.cfg is a nice compromise between modernization and compatibility with legacy systems
pkg_resources are dead, we should not use them, the suggested construct has as The Single Source of Truth™ version in git_deps/__init__.py, and it should work anywhere with setuptools >= 46.4.0, which is reasonably ancient
setup.py
to the declarativesetup.cfg
is a nice compromise between modernization and compatibility with legacy systemspkg_resources
are dead, we should not use them, the suggested construct has as The Single Source of Truth™ version ingit_deps/__init__.py
, and it should work anywhere withsetuptools
>= 46.4.0, which is reasonably ancientsix
should really never be mentioned any more