Open patrick91 opened 1 year ago
I can do this, though I'd pick between flit or hatchling as I've never used PDM. I could also just convert to setuptools with pyproject.toml.
flit_core
ignores .gitignore, it packs everything it finds in the directory at the time of build into the sdist tarball. hatchling
does care about .gitignore.
With flit/hatchling, the build step can look identical to what you have.
I've moved all my stuff to one of them. I seem to start with flit then flip to hatchling if the list of ignored files grows large enough (otherwise I need to always git stash -u
before building, though that's a good habit anyway).
Let me know if you would like assistance with reviews or otherwise (I maintain Hatch/Hatchling)!
Currently, our build step look like this:
I think we can migrate to a tool like flit, pdm or hatch, which won't require us to have a setup.py file (and we can migrate to pyproject.toml)