File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ requires = [
3
3
# First version of setuptools to support pyproject.toml configuration
4
4
" setuptools>=61.0.0" ,
5
5
" wheel" ,
6
+ # Must be kept in sync with `project.dependencies`
6
7
" cffi>=1.0.0" ,
7
8
" pkgconfig>=1.5" ,
8
9
]
@@ -38,6 +39,10 @@ classifiers = [
38
39
" Programming Language :: Python :: Implementation :: CPython" ,
39
40
" Programming Language :: Python :: Implementation :: PyPy" ,
40
41
]
42
+ dependencies = [
43
+ # Must be kept in sync with `build-system.requires`
44
+ " cffi>=1.0.0" ,
45
+ ]
41
46
42
47
[tool .setuptools ]
43
48
include-package-data = false
@@ -54,6 +59,7 @@ build = [
54
59
]
55
60
build-frontend = " build"
56
61
before-build = " bash {package}/scripts/cibw_before_build.sh"
62
+ test-command = " python -c \" import _libvips; assert _libvips.lib.vips_version(0) == 8\" "
57
63
environment-pass = [" RUNNER_OS" ]
58
64
59
65
[tool .cibuildwheel .environment ]
You can’t perform that action at this time.
0 commit comments