-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
35 lines (31 loc) · 1.25 KB
/
pyproject.toml
File metadata and controls
35 lines (31 loc) · 1.25 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
[build-system]
# scikit-build-core invokes CMake automatically, produces correctly tagged
# platform wheels (e.g. cp311-cp311-win_amd64), and handles MSVC / MinGW /
# GCC / Clang toolchains without any extra configuration.
requires = ["scikit-build-core>=0.9", "pybind11>=2.12"]
build-backend = "scikit_build_core.build"
[project]
name = "docx-comment-parser"
version = "1.1.1"
description = "Fast C++ library for extracting comment metadata from .docx files"
readme = "README.md"
requires-python = ">=3.8"
authors = [{name = "nick-developer"}]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: C++",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
]
[tool.scikit-build]
# Always build in Release mode for distributed wheels.
cmake.build-type = "Release"
# Pass extra CMake args:
# - disable the test suite (not needed inside the wheel)
# - disable the standalone shared library (the wheel only needs the Python
# extension; the extension itself compiles all C++ sources in via setup.py)
cmake.args = ["-DBUILD_TESTS=OFF"]
# The extension module is the only thing that goes into the wheel.
# No Python source packages to collect.
wheel.packages = []