Skip to content

Commit

Permalink
Added instructions to push pypi python package
Browse files Browse the repository at this point in the history
  • Loading branch information
axsaucedo committed Nov 8, 2020
1 parent 92338f7 commit b687e98
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions python/README.md
Original file line number Diff line number Diff line change
@@ -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/*
```

0 comments on commit b687e98

Please sign in to comment.