Skip to content

Commit 284456c

Browse files
authored
Fixed submodule reference with v0.2.5 (#44)
1 parent b813837 commit 284456c

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

client-sdk-rust

livekit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@
5858
from .video_source import VideoSource
5959
from .video_stream import VideoStream
6060

61-
__version__ = "0.2.0"
61+
from .version import __version__

livekit/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.2.5"

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
from wheel.bdist_wheel import get_platform
2424

2525
here = pathlib.Path(__file__).parent.resolve()
26+
about = {}
27+
with open(os.path.join(here, 'livekit', 'version.py'), 'r') as f:
28+
exec(f.read(), about)
2629

2730

2831
class bdist_wheel(_bdist_wheel):
@@ -60,7 +63,7 @@ def run(self):
6063

6164
setuptools.setup(
6265
name="livekit",
63-
version="0.2.4",
66+
version=about['__version__'],
6467
description="LiveKit Python Client SDK for LiveKit",
6568
long_description=(here / "README.md").read_text(encoding="utf-8"),
6669
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)