-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (68 loc) · 2.28 KB
/
pyproject.toml
File metadata and controls
82 lines (68 loc) · 2.28 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
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
76
77
78
79
80
81
82
[build-system]
requires = ["setuptools", "setuptools-scm", "pybind11~=2.11.1", "build"]
build-backend = "setuptools.build_meta"
[project]
name = "rodeo-bufr-tools"
description = "Tools for working with JSON-BUFR conversion in the E-SOH proejct."
readme = "README.md"
requires-python = ">=3.11"
dynamic = ["version"]
authors = [
{name = "Istvan Sebök"}
]
maintainers = [
{name = "Istavn Sebök"},
{name = "Amund Isaksen"}
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = ["pybind11 ~= 2.11.1"]
[tool.uv]
dev-dependencies = ['coverage', 'pre-commit', 'pytest', 'debugpy', 'ipython']
[tool.setuptools]
packages = [
"bufr_tools",
"bufr_tools.data.tables.opera",
"bufr_tools.data.schemas",
"bufr_tools.data.tables.wmo",
"bufr_tools.data.oscar",
] #, "bufr_tools.data"]
package-dir = { "bufr_tools" = "src/bufr_tools" }
include-package-data = true
[tool.setuptools.package-data]
bufr_tools = ["**.json", "**.txt", "**.csv"]
[tool.setuptools_scm]
write_to = "src/bufr_tools/_version.py" # Optional: writes version to a file
[tool.setuptools.exclude-package-data]
bufr_tools = [
"bufresohmsg.cpp",
"bufrprint.cpp",
"covjson2bufr_main.cpp",
"bufrenc.cpp",
]
[tool.cibuildwheel]
build-frontend = "build"
manylinux-x86_64-image = "quay.io/pypa/manylinux_2_28_x86_64"
manylinux-i686-image = "quay.io/pypa/manylinux_2_28_i686"
[tool.cibuildwheel.windows]
[tool.cibuildwheel.linux]
environment = { CXX="/opt/rh/gcc-toolset-13/root/usr/bin/c++" }
skip = "*-musllinux*"
before-all = [
"yum install -y gcc-toolset-13-*",
"curl -L -s -o /tmp/rapidjson.tar.gz https://github.com/Tencent/rapidjson/archive/refs/tags/v1.1.0.tar.gz",
"tar xvf /tmp/rapidjson.tar.gz -C /usr/ --strip-components=1 rapidjson-1.1.0/include",
"rm -f /tmp/rapidjson.tar.gz"
]
[tool.cibuildwheel.macos]
environment = { CXX_INCLUDE_PATH="${GITHUB_WORKSPACE/include/}:$CXX_INCLUDE_PATH" }
before-all = [
"curl -L -s -o /tmp/rapidjson.tar.gz https://github.com/Tencent/rapidjson/archive/refs/tags/v1.1.0.tar.gz",
"tar xvf /tmp/rapidjson.tar.gz -C $GITHUB_WORKSPACE --strip-components=1 rapidjson-1.1.0/include/",
"rm -f /tmp/rapidjson.tar.gz",
"ls $GITHUB_WORKSPACE",
"pwd"
]