Which I was building using
name = tester_project
version = attr: tester_project.__version__
setuptools >= 40.9.0
build-backend = setuptools.build_meta
$ python -m build --sdist --wheel --outdir dist
Possibly this can be configured using the --config-setting flag but I have been unable to get this to work or find any documentation on it. Ideally I would be able to pass a string so I can build a dev version for testing uploads to Test PyPI, e.g. "0.0.1devHASH"
Any info or references is much appreciated!