Skip to content

Commit a14ddee

Browse files
authored
Modernize Python Model API build documentation (#3955)
I did not put `pip wheel` because it downloads dependencies while `python -m build --wheel` generates `openmodelzoo_modelapi-0.0.0-py3-none-any.whl` only.
1 parent f094ea8 commit a14ddee

File tree

1 file changed

+2
-2
lines changed
  • demos/common/python/model_zoo/model_api

1 file changed

+2
-2
lines changed

demos/common/python/model_zoo/model_api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ Alternatively, you can generate the package using a wheel. Follow the steps belo
3636
1. Build the wheel.
3737

3838
```sh
39-
python <omz_dir>/demos/common/python/setup.py bdist_wheel
39+
python -m build --wheel <omz_dir>/demos/common/python/
4040
```
41-
The wheel should appear in the dist folder.
41+
The wheel should appear in the `dist` folder.
4242
Name example: `openmodelzoo_modelapi-0.0.0-py3-none-any.whl`
4343

4444
2. Install the package in the clean environment with `--force-reinstall` key.

0 commit comments

Comments
 (0)