diff --git a/docs/dev/new_check_howto.md b/docs/dev/new_check_howto.md index e9f4e95b7444c..5a63ce83d68c6 100644 --- a/docs/dev/new_check_howto.md +++ b/docs/dev/new_check_howto.md @@ -397,12 +397,12 @@ The example integration contains a service check, so you need to add it to the ` ## Building -`setup.py` provides the `setuptools` setup script to package and build the wheel. To learn more about Python packaging, see [Packaging Python Projects][14]. +The `pyproject.toml` file provides the metadata that is used to package and build the wheel. To learn more about Python packaging, see [Packaging Python Projects][14]. -Once your `setup.py` is ready, create a wheel: +Once your `pyproject.toml` is ready, create a wheel: - With the `ddev` tooling (recommended): `ddev release build ` -- Without the `ddev` tooling: `cd && python setup.py bdist_wheel` +- Without the `ddev` tooling: `cd && pip wheel . --no-deps --wheel-dir dist` ### What's in the wheel?