Skip to content

Commit 368f2a3

Browse files
authored
Add releasing-to-PyPI.md (#128)
1 parent ca5a91e commit 368f2a3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/releasing-to-PyPI.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
```bash
2+
py -m pip install --upgrade build
3+
# Remove master omz_tools. Will use one from openvino-dev
4+
sed -i '/omz_tools/d' model_api/python/requirements.txt
5+
py -m build --sdist --wheel model_api/python/
6+
py -m twine upload --username __token__ model_api/python/dist/*
7+
git tag X.Y.Z
8+
git push upstream X.Y.Z
9+
```
10+
Pull request to increment `version` in `setup.py` for the next release.

0 commit comments

Comments
 (0)