pyobjc-framework-AppTrackingTransparency 9.2__tar.gz → 10.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyobjc-framework-AppTrackingTransparency-10.0/Lib/AppTrackingTransparency/__init__.py +34 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/Lib/AppTrackingTransparency/_metadata.py +1 -1
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/Lib/pyobjc_framework_AppTrackingTransparency.egg-info/PKG-INFO +5 -3
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/Lib/pyobjc_framework_AppTrackingTransparency.egg-info/SOURCES.txt +3 -1
- pyobjc-framework-AppTrackingTransparency-10.0/Lib/pyobjc_framework_AppTrackingTransparency.egg-info/requires.txt +2 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/PKG-INFO +5 -3
- pyobjc-framework-AppTrackingTransparency-10.0/metadata/raw/arm64-14.0.fwinfo +127 -0
- pyobjc-framework-AppTrackingTransparency-10.0/metadata/raw/x86_64-14.0.fwinfo +127 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/pyobjc_setup.py +11 -2
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/setup.py +1 -1
- pyobjc-framework-AppTrackingTransparency-9.2/Lib/AppTrackingTransparency/__init__.py +0 -32
- pyobjc-framework-AppTrackingTransparency-9.2/Lib/pyobjc_framework_AppTrackingTransparency.egg-info/requires.txt +0 -2
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/Lib/pyobjc_framework_AppTrackingTransparency.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/Lib/pyobjc_framework_AppTrackingTransparency.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/Lib/pyobjc_framework_AppTrackingTransparency.egg-info/top_level.txt +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/License.txt +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/MANIFEST.in +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/PyObjCTest/test_apptrackingtransparency.py +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/PyObjCTest/test_attrackingmanager.py +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/metadata/AppTrackingTransparency.fwinfo +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/metadata/metadata.ini +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/metadata/raw/arm64-12.0.fwinfo +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/metadata/raw/arm64-12.3.fwinfo +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/metadata/raw/arm64-13.3.fwinfo +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/metadata/raw/x86_64-10.16.fwinfo +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/metadata/raw/x86_64-12.0.fwinfo +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/metadata/raw/x86_64-12.3.fwinfo +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/metadata/raw/x86_64-13.3.fwinfo +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/pyproject.toml +0 -0
- {pyobjc-framework-AppTrackingTransparency-9.2 → pyobjc-framework-AppTrackingTransparency-10.0}/setup.cfg +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the AppTrackingTransparency framework.
|
|
3
|
+
|
|
4
|
+
This module does not contain docstrings for the wrapped code, check Apple's
|
|
5
|
+
documentation for details on how to use these functions and classes.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _setup():
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
import Foundation
|
|
13
|
+
import objc
|
|
14
|
+
from . import _metadata
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="AppTrackingTransparency",
|
|
18
|
+
frameworkIdentifier="com.apple.AppTrackingTransparency",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/AppTrackingTransparency.framework"
|
|
21
|
+
),
|
|
22
|
+
globals_dict=globals(),
|
|
23
|
+
inline_list=None,
|
|
24
|
+
parents=(Foundation,),
|
|
25
|
+
metadict=_metadata.__dict__,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
globals()["__dir__"] = dir_func
|
|
29
|
+
globals()["__getattr__"] = getattr_func
|
|
30
|
+
|
|
31
|
+
del sys.modules["AppTrackingTransparency._metadata"]
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
globals().pop("_setup")()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-AppTrackingTransparency
|
|
3
|
-
Version:
|
|
3
|
+
Version: 10.0
|
|
4
4
|
Summary: Wrappers for the framework AppTrackingTransparency on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -18,17 +18,19 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.8
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Objective C
|
|
28
28
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
29
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
|
-
Requires-Python: >=3.
|
|
30
|
+
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
+
Requires-Dist: pyobjc-core>=10.0
|
|
33
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.0
|
|
32
34
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
33
35
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
34
36
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -19,7 +19,9 @@ metadata/metadata.ini
|
|
|
19
19
|
metadata/raw/arm64-12.0.fwinfo
|
|
20
20
|
metadata/raw/arm64-12.3.fwinfo
|
|
21
21
|
metadata/raw/arm64-13.3.fwinfo
|
|
22
|
+
metadata/raw/arm64-14.0.fwinfo
|
|
22
23
|
metadata/raw/x86_64-10.16.fwinfo
|
|
23
24
|
metadata/raw/x86_64-12.0.fwinfo
|
|
24
25
|
metadata/raw/x86_64-12.3.fwinfo
|
|
25
|
-
metadata/raw/x86_64-13.3.fwinfo
|
|
26
|
+
metadata/raw/x86_64-13.3.fwinfo
|
|
27
|
+
metadata/raw/x86_64-14.0.fwinfo
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-AppTrackingTransparency
|
|
3
|
-
Version:
|
|
3
|
+
Version: 10.0
|
|
4
4
|
Summary: Wrappers for the framework AppTrackingTransparency on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -18,17 +18,19 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.8
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Objective C
|
|
28
28
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
29
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
|
-
Requires-Python: >=3.
|
|
30
|
+
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
+
Requires-Dist: pyobjc-core>=10.0
|
|
33
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.0
|
|
32
34
|
|
|
33
35
|
|
|
34
36
|
Wrappers for the "AppTrackingTransparency" framework on macOS.
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// GENERATED FILE DO NOT EDIT
|
|
2
|
+
//
|
|
3
|
+
// This file was generated by objective.metadata
|
|
4
|
+
// Last update: Sat Jul 1 14:08:52 2023
|
|
5
|
+
{
|
|
6
|
+
"arch": "arm64",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"aliases": {},
|
|
9
|
+
"called_definitions": {},
|
|
10
|
+
"cftypes": {},
|
|
11
|
+
"classes": {
|
|
12
|
+
"ATTrackingManager": {
|
|
13
|
+
"categories": [],
|
|
14
|
+
"methods": [
|
|
15
|
+
{
|
|
16
|
+
"args": [
|
|
17
|
+
{
|
|
18
|
+
"callable": {
|
|
19
|
+
"arguments": {
|
|
20
|
+
"0": {
|
|
21
|
+
"type": "^v"
|
|
22
|
+
},
|
|
23
|
+
"1": {
|
|
24
|
+
"type": "Q"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"retval": {
|
|
28
|
+
"type": "v"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"typestr": "@?",
|
|
32
|
+
"typestr_special": false
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"class_method": true,
|
|
36
|
+
"retval": {
|
|
37
|
+
"typestr": "v",
|
|
38
|
+
"typestr_special": false
|
|
39
|
+
},
|
|
40
|
+
"selector": "requestTrackingAuthorizationWithCompletionHandler:",
|
|
41
|
+
"visibility": "public"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"args": [],
|
|
45
|
+
"class_method": true,
|
|
46
|
+
"retval": {
|
|
47
|
+
"typestr": "@",
|
|
48
|
+
"typestr_special": false
|
|
49
|
+
},
|
|
50
|
+
"selector": "new",
|
|
51
|
+
"visibility": "public"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"args": [],
|
|
55
|
+
"class_method": false,
|
|
56
|
+
"retval": {
|
|
57
|
+
"typestr": "@",
|
|
58
|
+
"typestr_special": false
|
|
59
|
+
},
|
|
60
|
+
"selector": "init",
|
|
61
|
+
"visibility": "public"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"args": [],
|
|
65
|
+
"class_method": true,
|
|
66
|
+
"retval": {
|
|
67
|
+
"typestr": "Q",
|
|
68
|
+
"typestr_special": false
|
|
69
|
+
},
|
|
70
|
+
"selector": "trackingAuthorizationStatus",
|
|
71
|
+
"visibility": "public"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"name": "ATTrackingManager",
|
|
75
|
+
"properties": [
|
|
76
|
+
{
|
|
77
|
+
"attributes": [
|
|
78
|
+
"assign",
|
|
79
|
+
"nonatomic",
|
|
80
|
+
"readonly"
|
|
81
|
+
],
|
|
82
|
+
"name": "trackingAuthorizationStatus",
|
|
83
|
+
"typestr": "Q",
|
|
84
|
+
"typestr_special": false
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"protocols": [],
|
|
88
|
+
"super": "NSObject"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"enum": {
|
|
92
|
+
"ATTrackingManagerAuthorizationStatusAuthorized": 3,
|
|
93
|
+
"ATTrackingManagerAuthorizationStatusDenied": 2,
|
|
94
|
+
"ATTrackingManagerAuthorizationStatusNotDetermined": 0,
|
|
95
|
+
"ATTrackingManagerAuthorizationStatusRestricted": 1
|
|
96
|
+
},
|
|
97
|
+
"enum_type": {
|
|
98
|
+
"ATTrackingManagerAuthorizationStatus": {
|
|
99
|
+
"type": "Q"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"expressions": {},
|
|
103
|
+
"externs": {
|
|
104
|
+
"AppTrackingTransparencyVersionNumber": {
|
|
105
|
+
"typestr": "d"
|
|
106
|
+
},
|
|
107
|
+
"AppTrackingTransparencyVersionString": {
|
|
108
|
+
"typestr": "^C"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"formal_protocols": {},
|
|
112
|
+
"func_macros": {},
|
|
113
|
+
"functions": {},
|
|
114
|
+
"informal_protocols": {},
|
|
115
|
+
"literals": {},
|
|
116
|
+
"structs": {},
|
|
117
|
+
"typedefs": {
|
|
118
|
+
"ATTrackingManagerAuthorizationStatus": "enum ATTrackingManagerAuthorizationStatus"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"framework": "AppTrackingTransparency",
|
|
122
|
+
"headers": [
|
|
123
|
+
"ATTrackingManager.h"
|
|
124
|
+
],
|
|
125
|
+
"release": "10.16",
|
|
126
|
+
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
|
|
127
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// GENERATED FILE DO NOT EDIT
|
|
2
|
+
//
|
|
3
|
+
// This file was generated by objective.metadata
|
|
4
|
+
// Last update: Sat Jul 1 14:08:50 2023
|
|
5
|
+
{
|
|
6
|
+
"arch": "x86_64",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"aliases": {},
|
|
9
|
+
"called_definitions": {},
|
|
10
|
+
"cftypes": {},
|
|
11
|
+
"classes": {
|
|
12
|
+
"ATTrackingManager": {
|
|
13
|
+
"categories": [],
|
|
14
|
+
"methods": [
|
|
15
|
+
{
|
|
16
|
+
"args": [
|
|
17
|
+
{
|
|
18
|
+
"callable": {
|
|
19
|
+
"arguments": {
|
|
20
|
+
"0": {
|
|
21
|
+
"type": "^v"
|
|
22
|
+
},
|
|
23
|
+
"1": {
|
|
24
|
+
"type": "Q"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"retval": {
|
|
28
|
+
"type": "v"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"typestr": "@?",
|
|
32
|
+
"typestr_special": false
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"class_method": true,
|
|
36
|
+
"retval": {
|
|
37
|
+
"typestr": "v",
|
|
38
|
+
"typestr_special": false
|
|
39
|
+
},
|
|
40
|
+
"selector": "requestTrackingAuthorizationWithCompletionHandler:",
|
|
41
|
+
"visibility": "public"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"args": [],
|
|
45
|
+
"class_method": true,
|
|
46
|
+
"retval": {
|
|
47
|
+
"typestr": "@",
|
|
48
|
+
"typestr_special": false
|
|
49
|
+
},
|
|
50
|
+
"selector": "new",
|
|
51
|
+
"visibility": "public"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"args": [],
|
|
55
|
+
"class_method": false,
|
|
56
|
+
"retval": {
|
|
57
|
+
"typestr": "@",
|
|
58
|
+
"typestr_special": false
|
|
59
|
+
},
|
|
60
|
+
"selector": "init",
|
|
61
|
+
"visibility": "public"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"args": [],
|
|
65
|
+
"class_method": true,
|
|
66
|
+
"retval": {
|
|
67
|
+
"typestr": "Q",
|
|
68
|
+
"typestr_special": false
|
|
69
|
+
},
|
|
70
|
+
"selector": "trackingAuthorizationStatus",
|
|
71
|
+
"visibility": "public"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"name": "ATTrackingManager",
|
|
75
|
+
"properties": [
|
|
76
|
+
{
|
|
77
|
+
"attributes": [
|
|
78
|
+
"assign",
|
|
79
|
+
"nonatomic",
|
|
80
|
+
"readonly"
|
|
81
|
+
],
|
|
82
|
+
"name": "trackingAuthorizationStatus",
|
|
83
|
+
"typestr": "Q",
|
|
84
|
+
"typestr_special": false
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"protocols": [],
|
|
88
|
+
"super": "NSObject"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"enum": {
|
|
92
|
+
"ATTrackingManagerAuthorizationStatusAuthorized": 3,
|
|
93
|
+
"ATTrackingManagerAuthorizationStatusDenied": 2,
|
|
94
|
+
"ATTrackingManagerAuthorizationStatusNotDetermined": 0,
|
|
95
|
+
"ATTrackingManagerAuthorizationStatusRestricted": 1
|
|
96
|
+
},
|
|
97
|
+
"enum_type": {
|
|
98
|
+
"ATTrackingManagerAuthorizationStatus": {
|
|
99
|
+
"type": "Q"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"expressions": {},
|
|
103
|
+
"externs": {
|
|
104
|
+
"AppTrackingTransparencyVersionNumber": {
|
|
105
|
+
"typestr": "d"
|
|
106
|
+
},
|
|
107
|
+
"AppTrackingTransparencyVersionString": {
|
|
108
|
+
"typestr": "^C"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"formal_protocols": {},
|
|
112
|
+
"func_macros": {},
|
|
113
|
+
"functions": {},
|
|
114
|
+
"informal_protocols": {},
|
|
115
|
+
"literals": {},
|
|
116
|
+
"structs": {},
|
|
117
|
+
"typedefs": {
|
|
118
|
+
"ATTrackingManagerAuthorizationStatus": "enum ATTrackingManagerAuthorizationStatus"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"framework": "AppTrackingTransparency",
|
|
122
|
+
"headers": [
|
|
123
|
+
"ATTrackingManager.h"
|
|
124
|
+
],
|
|
125
|
+
"release": "10.16",
|
|
126
|
+
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
|
|
127
|
+
}
|
|
@@ -208,11 +208,11 @@ Operating System :: MacOS :: MacOS X
|
|
|
208
208
|
Programming Language :: Python
|
|
209
209
|
Programming Language :: Python :: 3
|
|
210
210
|
Programming Language :: Python :: 3 :: Only
|
|
211
|
-
Programming Language :: Python :: 3.7
|
|
212
211
|
Programming Language :: Python :: 3.8
|
|
213
212
|
Programming Language :: Python :: 3.9
|
|
214
213
|
Programming Language :: Python :: 3.10
|
|
215
214
|
Programming Language :: Python :: 3.11
|
|
215
|
+
Programming Language :: Python :: 3.12
|
|
216
216
|
Programming Language :: Python :: Implementation :: CPython
|
|
217
217
|
Programming Language :: Objective C
|
|
218
218
|
Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -510,6 +510,15 @@ def Extension(*args, **kwds):
|
|
|
510
510
|
% (tuple(map(int, os_level.split(".")[:2])))
|
|
511
511
|
)
|
|
512
512
|
|
|
513
|
+
# XCode 15 has a bug w.r.t. weak linking for older macOS versions,
|
|
514
|
+
# fall back to older linker when using that compiler.
|
|
515
|
+
# XXX: This should be in _fixup_compiler but doesn't work there...
|
|
516
|
+
lines = subprocess.check_output(["xcodebuild", "-version"], text=True).splitlines()
|
|
517
|
+
if lines[0].startswith("Xcode"):
|
|
518
|
+
xcode_vers = int(lines[0].split()[-1].split(".")[0])
|
|
519
|
+
if xcode_vers >= 15:
|
|
520
|
+
ldflags.append("-Wl,-ld_classic")
|
|
521
|
+
|
|
513
522
|
if os_level == "10.4":
|
|
514
523
|
cflags.append("-DNO_OBJC2_RUNTIME")
|
|
515
524
|
|
|
@@ -661,7 +670,7 @@ def setup(min_os_level=None, max_os_level=None, cmdclass=None, **kwds):
|
|
|
661
670
|
zip_safe=False,
|
|
662
671
|
license="MIT License",
|
|
663
672
|
classifiers=CLASSIFIERS,
|
|
664
|
-
python_requires=">=3.
|
|
673
|
+
python_requires=">=3.8",
|
|
665
674
|
keywords=["PyObjC"] + [p for p in k["packages"] if p not in ("PyObjCTools",)],
|
|
666
675
|
**k,
|
|
667
676
|
)
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Python mapping for the AppTrackingTransparency framework.
|
|
3
|
-
|
|
4
|
-
This module does not contain docstrings for the wrapped code, check Apple's
|
|
5
|
-
documentation for details on how to use these functions and classes.
|
|
6
|
-
"""
|
|
7
|
-
|
|
8
|
-
import sys
|
|
9
|
-
|
|
10
|
-
import Foundation
|
|
11
|
-
import objc
|
|
12
|
-
from AppTrackingTransparency import _metadata
|
|
13
|
-
|
|
14
|
-
sys.modules["AppTrackingTransparency"] = mod = objc.ObjCLazyModule(
|
|
15
|
-
"AppTrackingTransparency",
|
|
16
|
-
"com.apple.AppTrackingTransparency",
|
|
17
|
-
objc.pathForFramework(
|
|
18
|
-
"/System/Library/Frameworks/AppTrackingTransparency.framework"
|
|
19
|
-
),
|
|
20
|
-
_metadata.__dict__,
|
|
21
|
-
None,
|
|
22
|
-
{
|
|
23
|
-
"__doc__": __doc__,
|
|
24
|
-
"objc": objc,
|
|
25
|
-
"__path__": __path__,
|
|
26
|
-
"__loader__": globals().get("__loader__", None),
|
|
27
|
-
},
|
|
28
|
-
(Foundation,),
|
|
29
|
-
)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
del sys.modules["AppTrackingTransparency._metadata"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|