The current code contains deprecated stuff (like python setup.py install, pythonbrew), and other non-deprecated but just "old", non optimal stuff (like unittest, Makefile).
The code could benefit from modernization:
- Migrate setup.py to pyproject.toml
- Use
uv for python version management (and not pythonbrew which is not maintained)
- Use
uv for building and publishing.
- Migrate from
unittest to pytest
- Remove the
update_revision.pl script (unneeded perl dependency, assumes versions cannot exceed 9 for some reason, etc.)
- Stop using
flake8, black, isort, pylint in favor of (already used) ruff
- Consider deprecating the Makefile
The current code contains deprecated stuff (like
python setup.py install,pythonbrew), and other non-deprecated but just "old", non optimal stuff (like unittest, Makefile).The code could benefit from modernization:
uvfor python version management (and notpythonbrewwhich is not maintained)uvfor building and publishing.unittesttopytestupdate_revision.plscript (unneeded perl dependency, assumes versions cannot exceed 9 for some reason, etc.)flake8,black,isort,pylintin favor of (already used)ruff