Skip to content

chore: Modernize project build system#59

Open
chaudum wants to merge 2 commits into
mainfrom
chaudum/update-tooling
Open

chore: Modernize project build system#59
chaudum wants to merge 2 commits into
mainfrom
chaudum/update-tooling

Conversation

@chaudum
Copy link
Copy Markdown
Owner

@chaudum chaudum commented Mar 28, 2026

  • Require currently supported Python version (see https://devguide.python.org/versions/)
  • Replace setup.py and setup.cfg with more modern pyproject.toml
  • Use uv tooling for building (reflected in README)
  • Remove Dockerfile for tests, as they can be run with pytest directly
  • Remove pytest-flake8 dependency for tests

⚠️ This PR removes functionality to build manpages for distributions.

@chaudum chaudum force-pushed the chaudum/update-tooling branch 3 times, most recently from b17737d to 1fac065 Compare March 29, 2026 09:10
chaudum added 2 commits March 29, 2026 12:03
* Replace `setup.py` and `setup.cfg` with more modern `pyproject.toml`
* Use `uv` tooling for building
* Remove Dockerfile for tests, as they can be run with `pytest` directly
* Remove `pytest-flake8` dependency for tests

As a side-effect, this commit fixes the the version detection at runtime
(`replaygain --version`).
@chaudum chaudum force-pushed the chaudum/update-tooling branch from 7499bae to 3e286ac Compare March 29, 2026 10:22
@chaudum chaudum marked this pull request as ready for review March 29, 2026 10:26
@chaudum
Copy link
Copy Markdown
Owner Author

chaudum commented Mar 29, 2026

The replacement of setup.py with pyproject.toml is independent of the introduction of new tooling (uv). Therefore it should be considered doing it in separate steps (in case the second step is really needed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant