-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (31 loc) · 1 KB
/
Copy pathpyproject.toml
File metadata and controls
37 lines (31 loc) · 1 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
[build-system]
build-backend = 'mesonpy'
requires = ['meson-python']
[tool.meson-python.args]
compile = ['python']
install = ['--tags=runtime,python-runtime']
[project]
name = 'barkeep'
version = '0.1.6'
description = ''
readme = 'python/README.md'
requires-python = '>=3.11'
license = {file = 'LICENSE'}
authors = [
{name = 'Ozan Irsoy'},
]
[tool.cibuildwheel]
build-verbosity = "3"
test-requires = "pytest"
test-command = "pytest {project}/python/tests/test.py"
[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
environment = { CXXFLAGS = "-DBARKEEP_ENABLE_ATOMIC_FLOAT=0" }
test-command = "pytest --no-atomic-float {project}/python/tests/test.py"
[[tool.cibuildwheel.overrides]]
select = "*-macosx_arm64*"
environment = { CXX = "$(brew --prefix llvm@15)/bin/clang++", CXXFLAGS = "-DBARKEEP_ENABLE_ATOMIC_FLOAT=0" }
test-command = "pytest --no-atomic-float {project}/python/tests/test.py"
[[tool.cibuildwheel.overrides]]
select = "*-macosx_x86_64*"
environment = { CXX = "g++-14", CXXFLAGS = "-ld_classic" }