Commit 5e9b8b8 1 parent 82a80b5 commit 5e9b8b8 Copy full SHA for 5e9b8b8
File tree 3 files changed +23
-3
lines changed
3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,27 @@ interrogate_module = "interrogate_module:main"
31
31
[tool .scikit-build ]
32
32
cmake.version = " >=3.13"
33
33
cmake.args = [" -DBUILD_SHARED_LIBS=OFF" , " -DHAVE_PYTHON=ON" , " -DPYTHON_ARCH_INSTALL_DIR=." ]
34
- wheel.py-api = " cp32 "
34
+ wheel.py-api = " cp33 "
35
35
install.components = [" tools" , " python_modules" ]
36
36
37
37
[tool .scikit-build .wheel .packages ]
38
38
interrogate = " python/interrogate"
39
39
interrogate_module = " python/interrogate_module"
40
+
41
+ [tool .cibuildwheel ]
42
+ build = " cp38-*"
43
+
44
+ [tool .cibuildwheel .linux ]
45
+ repair-wheel-command = [
46
+ " auditwheel repair -w {dest_dir} {wheel}" ,
47
+ " pipx run abi3audit --strict --report {wheel}" ,
48
+ ]
49
+
50
+ [tool .cibuildwheel .macos ]
51
+ repair-wheel-command = [
52
+ " delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}" ,
53
+ " pipx run abi3audit --strict --report {wheel}" ,
54
+ ]
55
+
56
+ [tool .cibuildwheel .windows ]
57
+ repair-wheel-command = " pipx run abi3audit --strict --report {wheel}"
Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ endif()
70
70
71
71
get_directory_property (_old_cache_vars CACHE_VARIABLES )
72
72
if (CMAKE_VERSION VERSION_LESS "3.26" )
73
- find_package (Python ${WANT_PYTHON_VERSION} QUIET COMPONENTS Interpreter Development)
73
+ find_package (Python ${WANT_PYTHON_VERSION} QUIET COMPONENTS Interpreter Development.Module )
74
74
set (_IMPORTED_AS Python::Module)
75
75
else ()
76
- find_package (Python ${WANT_PYTHON_VERSION} QUIET COMPONENTS Interpreter Development Development.SABIModule)
76
+ find_package (Python ${WANT_PYTHON_VERSION} QUIET COMPONENTS Interpreter Development.Module Development.SABIModule)
77
77
set (_IMPORTED_AS Python::SABIModule)
78
78
endif ()
79
79
Original file line number Diff line number Diff line change 18
18
19
19
#include < sys/stat.h>
20
20
#include < algorithm>
21
+ #include < stdlib.h>
22
+ #include < limits.h>
21
23
22
24
#ifdef PHAVE_UTIME_H
23
25
#include < utime.h>
You can’t perform that action at this time.
0 commit comments