A client I work for runs python setup.py bdist_wheel --build-number $BUILD_NUMBER
in CI/CD (w/ Python 3.10). I would like to replace them with build
but I don’t think there’s a --build-number
argument. Am I wrong? How can I do that? Thanks!
Maybe this?
1 Like
Complex, but looks like it. Thanks!
Otherwise if I recall correctly, typically configuration is passed to setup.py
via environment variables.
SOME_CONFIG=some_value python -m build --wheel
Maybe it can be applied to your use case.
1 Like