pyebur128/pyproject.toml

37 lines
882 B
TOML
Raw Normal View History

2021-03-21 23:37:47 +00:00
[build-system]
requires = [
'wheel',
'setuptools',
'Cython',
'setuptools_scm[toml]',
]
build-backend = 'setuptools.build_meta'
[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*'
before-test = "apk add libsndfile"
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'