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 73 74 75
|
[build-system]
requires = [
"scikit-build-core",
"Cython"
]
build-backend = "scikit_build_core.build"
[project]
name = "pocketsphinx"
version = "5.0.4"
description = "Official Python bindings for PocketSphinx"
readme = "cython/README.md"
authors = [
{name = "David Huggins-Daines", email = "dhdaines@gmail.com"}
]
keywords = ["asr", "speech"]
dependencies = ["sounddevice"]
classifiers = [
"Development Status :: 6 - Mature",
"Programming Language :: C",
"Programming Language :: Cython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Multimedia :: Sound/Audio :: Speech",
]
[project.urls]
Homepage = "https://github.com/cmusphinx/pocketsphinx"
Documentation = "https://pocketsphinx.readthedocs.io/en/latest/"
Repository = "https://github.com/cmusphinx/pocketsphinx.git"
Issues = "https://github.com/cmusphinx/pocketsphinx/issues"
[project.scripts]
pocketsphinx_lm = "pocketsphinx.lm:main"
[tool.cibuildwheel]
# Build a reduced selection of binaries as there are tons of them
build = [
"pp310*",
"cp38-*",
"cp310-*",
"cp311-*",
"cp312-*",
"cp313-*",
]
# Build only universal wheels for Mac where possible, and skip 32-bit
# builds to avoid building a gigabyte of stuff all the time
skip = [
"cp*-macosx_x86_64",
"cp*-macosx_arm64",
"*_i686",
"*-win32",
]
[tool.cibuildwheel.macos]
archs = ["x86_64", "universal2", "arm64"]
[tool.isort]
profile = "black"
[tool.flake8]
extend-ignore = "E203"
max-line-length = "88"
[tool.scikit-build]
cmake.verbose = true
logging.level = "INFO"
wheel.packages = ["cython/pocketsphinx"]
|