-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (41 loc) · 1.51 KB
/
Copy pathpyproject.toml
File metadata and controls
48 lines (41 loc) · 1.51 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
[build-system]
requires = ["setuptools>=77.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "qwentts-cpp-python"
version = "0.4.1"
description = "Python ctypes bindings and wheel packaging for qwentts.cpp"
readme = "README.md"
license = "MIT"
authors = [{ name = "Andres Marafioti" }]
requires-python = ">=3.10"
dependencies = [
"numpy",
"huggingface-hub",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.urls]
Homepage = "https://github.com/andimarafioti/qwentts-cpp-python"
Repository = "https://github.com/andimarafioti/qwentts-cpp-python"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
qwentts_cpp = ["py.typed", "lib/*"]
[tool.cibuildwheel]
build = "cp310-manylinux_* cp310-macosx_arm64"
skip = "*-musllinux_* *-manylinux_i686"
before-build = "python scripts/build_native.py --backend cuda --clean"
test-command = "python -c \"from qwentts_cpp import QwenLibrary; print(QwenLibrary().version())\""
[tool.cibuildwheel.linux]
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"
[tool.cibuildwheel.macos]
archs = ["arm64"]
environment = { MACOSX_DEPLOYMENT_TARGET = "14.0" }
before-build = "python scripts/build_native.py --backend metal --clean"
repair-wheel-command = "delocate-wheel --require-archs arm64 -w {dest_dir} -v {wheel}"