-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (64 loc) · 1.97 KB
/
pyproject.toml
File metadata and controls
72 lines (64 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[build-system]
requires = [
"setuptools>=61",
"wheel",
"requests",
]
build-backend = "setuptools.build_meta"
[project]
name = "livekit"
dynamic = ["version"]
description = "Python Real-time SDK for LiveKit"
readme = "README.md"
requires-python = ">=3.9.0"
license = "Apache-2.0"
keywords = ["webrtc", "realtime", "audio", "video", "livekit"]
authors = [
{ name = "LiveKit", email = "support@livekit.io" }
]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"protobuf>=4.25.0",
"types-protobuf>=3",
"aiofiles>=24",
"numpy>=1.26",
]
[project.urls]
Documentation = "https://docs.livekit.io"
Website = "https://livekit.io/"
Source = "https://github.com/livekit/python-sdks/"
[tool.setuptools.dynamic]
version = { attr = "livekit.rtc.version.__version__" }
[tool.setuptools.packages.find]
include = ["livekit.*"]
[tool.setuptools.package-data]
"livekit.rtc" = ["_proto/*.py", "py.typed", "*.pyi", "**/*.pyi"]
"livekit.rtc.resources" = [
"*.so",
"*.dylib",
"*.dll",
"LICENSE.md",
"*.h",
"jupyter-html/index.html",
]
[tool.cibuildwheel]
build = "cp39-*"
skip = "*-musllinux_*" # not supported (libwebrtc requires glibc)
before-build = "pip install requests && python rust-sdks/download_ffi.py --output livekit/rtc/resources"
# macOS deployment targets must match the FFI binaries (see rust-sdks/.github/workflows/ffi-builds.yml)
# x86_64 supports macOS 10.15+, arm64 requires macOS 11.0+
[[tool.cibuildwheel.overrides]]
select = "*macosx_x86_64"
environment = { MACOSX_DEPLOYMENT_TARGET = "10.15" }
[[tool.cibuildwheel.overrides]]
select = "*macosx_arm64"
environment = { MACOSX_DEPLOYMENT_TARGET = "11.0" }