pdfminer / pdfminer.six

Community maintained fork of pdfminer - we fathom PDF
https://pdfminersix.readthedocs.io
MIT License
5.84k stars 925 forks source link

Switch to pyproject.toml (using hatchling) #1028

Open dhdaines opened 2 months ago

dhdaines commented 2 months ago

Pull request

Switch to pyproject.toml. I used hatch or more specifically its build backend hatchling because it was convenient, but we could also use plain old setuptools if you prefer! Fixes #931

How Has This Been Tested?

hatch run build
hatch shell
pip install -e .[dev]
nox

Checklist

dhdaines commented 2 months ago

Note that the output sdist and wheels end up being named pdfminer_six-... and not pdfminer.six-.... This is probably a good thing but I don't know if it will cause problems for PyPI?

dhdaines commented 1 month ago

The test failure above is some random GitHub failure, not an actual problem with this PR.