Skip to content

Commit

Permalink
Update tutorial for creating a new integration (#11518)
Browse files Browse the repository at this point in the history
* Update tutorial for creating a new integration

* address
  • Loading branch information
ofek authored Feb 16, 2022
1 parent ead8e44 commit 9d85886
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/dev/new_check_howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <INTEGRATION_NAME>`
- Without the `ddev` tooling: `cd <INTEGRATION_DIR> && python setup.py bdist_wheel`
- Without the `ddev` tooling: `cd <INTEGRATION_DIR> && pip wheel . --no-deps --wheel-dir dist`

### What's in the wheel?

Expand Down

0 comments on commit 9d85886

Please sign in to comment.