Added instructions to push pypi python package

This commit is contained in:
Alejandro Saucedo 2020-11-08 17:05:27 +00:00
parent 92338f7051
commit b687e982d8

View file

@ -1,2 +1,34 @@
# Python Bindings for Vulkan Kompute
## Publishing to pypi
Build source distribution:
```
python setup.py sdist bdist_wheel
```
Push to test pypi registry:
```
python -m twine upload --repository testpypi dist/*
```
Install from test pypi:
```
python -m pip install --index-url https://test.pypi.org/simple/ --no-deps kp
```
Run tests in python/test directory:
```
python -m pytest
```
Push to official pypi registry:
```
python -m twine upload dist/*
```