Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 28 additions & 18 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,40 @@

name: Upload Python Package

on: workflow_dispatch
on:
workflow_dispatch:
push:
tags:
- v*

permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Checkout Git LFS
uses: actions/checkout@v3
with:
lfs: "true"

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.x"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build

- name: Build package
run: python -m build

- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

setup(
name="livekit",
version="0.2.2",
version="0.2.3",
description="LiveKit Python Client SDK for LiveKit",
long_description=long_description,
long_description_content_type="text/markdown",
Expand All @@ -39,6 +39,7 @@
],

keywords="webrtc, livekit",
license="Apache-2.0",
packages=["livekit"],
python_requires=">=3.7, <4",
install_requires=["pyee>=11.0.0",
Expand All @@ -47,6 +48,7 @@
"livekit": ['lib/*/*/*.*', '_proto/*.py'],
},
project_urls={
"Documentation": "https://docs.livekit.io",
"Website": "https://livekit.io/",
"Source": "https://github.com/livekit/client-sdk-python/",
},
Expand Down