forked from zunda-arrow/Songbird-Py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (41 loc) · 1.32 KB
/
pyproject.toml
File metadata and controls
49 lines (41 loc) · 1.32 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
[build-system]
build-backend = "maturin"
requires = ["maturin>=0.14,<0.15"]
[project]
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
]
dependencies = ["yt-dlp>=2021.12.1"]
description = "A Discord voice library using Python Songbird bindings."
name = "songbird-py"
requires-python = ">=3.8"
version = "0.1.8"
[project.optional-dependencies]
hikari = ["hikari"]
pincer = ["pincer"]
[project.urls]
"Bug Tracker" = "https://github.com/Lunarmagpie/Songbird-Py/issues"
Docs = "https://songbird-py.readthedocs.io/en/latest/"
GitHub = "https://github.com/magpie-dev/Songbird-Py"
[tool.maturin]
sdist-include = ["songbird/*.pyi"]
[tool.cibuildwheel]
build-verbosity = "1"
[tool.cibuildwheel.linux]
archs = ["auto", "aarch64"]
before-build = """
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=minimal -y &&
rustup show &&
yum install -y opus &&
yum install cmake
"""
environment = 'PATH="$HOME/.cargo/bin:$PATH"'
[tool.cibuildwheel.macos]
archs = ["auto", "arm64"]
before-build = "rustup target add aarch64-apple-darwin"
[tool.cibuildwheel.windows]
environment = 'set PATH=%PATH%'