-
Notifications
You must be signed in to change notification settings - Fork 93
/
pyproject.toml
45 lines (41 loc) · 1.22 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools", "wheel", "pip"]
build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
environment-pass = """ARCTIC_CMAKE_PRESET CMAKE_BUILD_PARALLEL_LEVEL\
VCPKG_BINARY_SOURCES VCPKG_NUGET_USER VCPKG_NUGET_TOKEN VCPKG_MAN_NUGET_USER VCPKG_MAN_NUGET_TOKEN"""
build-frontend = "build"
test-extras = "Testing"
[tool.cibuildwheel.linux]
# See also build_many_linux_image.sh
before-all = """
[[ -e /etc/arcticdb_deps_installed ]] || { yum update -y && yum install -y zip \
openssl-devel cyrus-sasl-devel devtoolset-10-libatomic-devel libcurl-devel ; }
{project}/build_tooling/prep_cpp_build.sh
{project}/build_tooling/vcpkg_caching.sh
"""
before-build = "env"
build = "cp*-manylinux_x86_64"
manylinux-x86_64-image = "ghcr.io/man-group/cibuildwheel_manylinux:latest"
[tool.cibuildwheel.windows]
build = "cp*-win_amd64"
before-all = "bash {project}/build_tooling/prep_cpp_build.sh"
before-build = "set"
[tool.black]
line-length = 120
target_version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311']
preview = true
# This must be kept in sync with the version in setup.cfg.
exclude = '''
/(
| \.git
| \.github
| \.mypy_cache
| \.vscode
| \.idea
| build_tooling
| cpp
| docs
| static
)/
'''