@@ -19,22 +19,41 @@ sources = ["src/testbed"]
19
19
test_sources = [" tests" ]
20
20
21
21
requires = [
22
- # Skip binary dependencies on mobile for Python 3.14
23
- " cryptography; (platform_system != 'iOS' and platform_system != 'Android') or python_version < '3.14'" ,
24
- " lru_dict; (platform_system != 'iOS' and platform_system != 'Android') or python_version < '3.14'" ,
25
- " pillow; (platform_system != 'iOS' and platform_system != 'Android') or python_version < '3.14'" ,
26
- # Numpy/pandas aren't available for iOS on 3.13+, or at all on 3.14.
27
- " numpy; python_version < '3.13' or (platform_system != 'iOS' and python_version < '3.14')" ,
28
- " pandas; python_version < '3.13' or (platform_system != 'iOS' and python_version < '3.14')" ,
22
+ # Cryptography provides an ABI3 wheel for all desktop platforms, but requires cffi which doesn't.
23
+ """ cryptography; \
24
+ (platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \
25
+ or (platform_system == 'iOS' and python_version < '3.14') \
26
+ or (platform_system == 'Android' and python_version < '3.14')""" ,
27
+ # lru_dict not available anywhere on 3.14
28
+ """ lru_dict; \
29
+ (platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \
30
+ or (platform_system == 'iOS' and python_version < '3.14') \
31
+ or (platform_system == 'Android' and python_version < '3.14')""" ,
32
+ # pillow not available anywhere on 3.14
33
+ """ pillow; \
34
+ (platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \
35
+ or (platform_system == 'iOS' and python_version < '3.14') \
36
+ or (platform_system == 'Android' and python_version < '3.14')""" ,
37
+ # Numpy not available on iOS for 3.13+, or all on 3.14.
38
+ """ numpy; \
39
+ (platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \
40
+ or (platform_system == 'iOS' and python_version < '3.13') \
41
+ or (platform_system == 'Android' and python_version < '3.14')""" ,
42
+ # Pandas not available on iOS for 3.13+, or all on 3.14.
43
+ """ pandas; \
44
+ (platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \
45
+ or (platform_system == 'iOS' and python_version < '3.13') \
46
+ or (platform_system == 'Android' and python_version < '3.14')""" ,
29
47
]
30
48
test_requires = [
31
49
" pytest" ,
32
50
]
33
-
51
+ requirement_installer_args = [
52
+ " -f" , " ./wheels"
53
+ ]
34
54
[tool .briefcase .app .testbed .macOS ]
35
55
requires = [
36
56
# Provide a source of binary wheels that aren't provided on PyPI.
37
- " --find-links" , " ./wheels" ,
38
57
" rubicon-objc" ,
39
58
" std-nslog" ,
40
59
]
0 commit comments