2021-03-21 23:37:47 +00:00
|
|
|
[build-system]
|
2024-09-05 00:57:19 +00:00
|
|
|
requires = ['wheel', 'setuptools', 'Cython', 'setuptools_scm[toml]']
|
2021-03-21 23:37:47 +00:00
|
|
|
build-backend = 'setuptools.build_meta'
|
|
|
|
|
2024-09-04 17:27:14 +00:00
|
|
|
[tool.cibuildwheel]
|
|
|
|
test-command = 'pytest {package}/tests'
|
|
|
|
test-extras = ['tests']
|
|
|
|
|
|
|
|
[tool.cibuildwheel.linux]
|
|
|
|
archs = ['auto', 'aarch64', 'ppc64le', 's390x']
|
|
|
|
before-test = "yum -y install libsndfile"
|
|
|
|
|
|
|
|
[tool.cibuildwheel.macos]
|
|
|
|
before-test = "brew install libsndfile"
|
|
|
|
|
|
|
|
#[tool.cibuildwheel.windows]
|
|
|
|
# Will re-enable ARM64 once libebur128 pull request #131 is merged.
|
|
|
|
# https://github.com/jiixyj/libebur128/pull/131
|
|
|
|
#archs = ['auto', 'ARM64']
|
|
|
|
|
|
|
|
[[tool.cibuildwheel.overrides]]
|
|
|
|
select = '*-musllinux*'
|
2024-09-05 00:57:19 +00:00
|
|
|
before-test = ['apk add libsndfile', 'find / | grep libsndfile']
|
2024-09-04 17:27:14 +00:00
|
|
|
|
2021-03-21 23:37:47 +00:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
minversion = '6.0'
|
|
|
|
addopts = '--cov-report=xml --cov-report=term:skip-covered --cov=pyebur128'
|
|
|
|
testpaths = ['tests']
|
|
|
|
|
|
|
|
[tool.setuptools_scm]
|
|
|
|
write_to = 'src/pyebur128/version.py'
|