aiven-db-migrate icon indicating copy to clipboard operation
aiven-db-migrate copied to clipboard

Migrate to pyproject.toml

Open dogukancagatay opened this issue 11 months ago • 0 comments

Proposed changes in this pull request

This PR migrates the project to pyproject.toml from setup.py.

  • Added RPM SPEC file.
  • Updated rpm task of the Makefile.
  • It uses hatchling (and hatch) for build-system.
  • The version info is gathered by hatchling via hatch-vcs plugin (PEP-440 compatible version number)

Additionally, fixes the issue related to PEP-440 compatible version string issue happening with setuptools > 66 environments (and in #51).

Type (put an x where ever applicable)

  • [ ] Bug fix: Link to the issue
  • [X] Feature (Non-breaking change)
  • [ ] Feature (Breaking change)
  • [ ] Documentation Improvement
  • [ ] Other

Checklist

Please put an x against the checkboxes. Write a small comment explaining if its N/A (not applicable)

  • [x] All the tests are passing after the introduction of new changes.
  • [N/A] Added tests respective to the part of code I have written.
  • [N/A] Added proper documentation where ever applicable (in code and README.md).

Optional extra information

dogukancagatay avatar Mar 09 '24 09:03 dogukancagatay