mirror of
https://github.com/nomic-ai/kompute.git
synced 2026-05-11 17:09:59 +00:00
35 lines
468 B
Markdown
35 lines
468 B
Markdown
# 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/*
|
|
```
|
|
|