pyobjc-framework-ServiceManagement 9.2__py2.py3-none-any.whl → 10.1__py2.py3-none-any.whl
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.
- ServiceManagement/__init__.py +34 -23
- ServiceManagement/_metadata.py +10 -2
- {pyobjc_framework_ServiceManagement-9.2.dist-info → pyobjc_framework_ServiceManagement-10.1.dist-info}/METADATA +6 -5
- pyobjc_framework_ServiceManagement-10.1.dist-info/RECORD +7 -0
- {pyobjc_framework_ServiceManagement-9.2.dist-info → pyobjc_framework_ServiceManagement-10.1.dist-info}/WHEEL +1 -1
- pyobjc_framework_ServiceManagement-9.2.dist-info/RECORD +0 -7
- {pyobjc_framework_ServiceManagement-9.2.dist-info → pyobjc_framework_ServiceManagement-10.1.dist-info}/LICENSE.txt +0 -0
- {pyobjc_framework_ServiceManagement-9.2.dist-info → pyobjc_framework_ServiceManagement-10.1.dist-info}/top_level.txt +0 -0
ServiceManagement/__init__.py
CHANGED
|
@@ -4,26 +4,37 @@ Python mapping for the ServiceManagement framework.
|
|
|
4
4
|
This module does not contain docstrings for the wrapped code, check Apple's
|
|
5
5
|
documentation for details on how to use these functions and classes.
|
|
6
6
|
"""
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _setup():
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
import CoreFoundation
|
|
13
|
+
import objc
|
|
14
|
+
from . import _metadata
|
|
15
|
+
|
|
16
|
+
# The framework identifier is different on macOS <= 10.9
|
|
17
|
+
if objc.macos_available(10, 10):
|
|
18
|
+
identifier = "com.apple.xpc.ServiceManagement"
|
|
19
|
+
else:
|
|
20
|
+
identifier = "com.apple.bsd.ServiceManagement"
|
|
21
|
+
|
|
22
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
23
|
+
name="ServiceManagement",
|
|
24
|
+
frameworkIdentifier=identifier,
|
|
25
|
+
frameworkPath=objc.pathForFramework(
|
|
26
|
+
"/System/Library/Frameworks/ServiceManagement.framework"
|
|
27
|
+
),
|
|
28
|
+
globals_dict=globals(),
|
|
29
|
+
inline_list=None,
|
|
30
|
+
parents=(CoreFoundation,),
|
|
31
|
+
metadict=_metadata.__dict__,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
globals()["__dir__"] = dir_func
|
|
35
|
+
globals()["__getattr__"] = getattr_func
|
|
36
|
+
|
|
37
|
+
del sys.modules["ServiceManagement._metadata"]
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
globals().pop("_setup")()
|
ServiceManagement/_metadata.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Sat Jul 1 14:00:35 2023
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -32,7 +32,15 @@ else:
|
|
|
32
32
|
misc = {}
|
|
33
33
|
constants = """$kSMDomainSystemLaunchd$kSMDomainUserLaunchd$kSMErrorDomainFramework$kSMErrorDomainIPC$kSMErrorDomainLaunchd$kSMInfoKeyAuthorizedClients$kSMInfoKeyPrivilegedExecutables$"""
|
|
34
34
|
enums = """$SMAppServiceStatusEnabled@1$SMAppServiceStatusNotFound@3$SMAppServiceStatusNotRegistered@0$SMAppServiceStatusRequiresApproval@2$kSMErrorAlreadyRegistered@12$kSMErrorAuthorizationFailure@4$kSMErrorInternalFailure@2$kSMErrorInvalidPlist@10$kSMErrorInvalidSignature@3$kSMErrorJobMustBeEnabled@9$kSMErrorJobNotFound@6$kSMErrorJobPlistNotFound@8$kSMErrorLaunchDeniedByUser@11$kSMErrorServiceUnavailable@7$kSMErrorToolNotValid@5$"""
|
|
35
|
-
misc.update(
|
|
35
|
+
misc.update(
|
|
36
|
+
{
|
|
37
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/ServiceManagement.framework/Headers/SMErrors.h:58:1)": NewType(
|
|
38
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/ServiceManagement.framework/Headers/SMErrors.h:58:1)",
|
|
39
|
+
int,
|
|
40
|
+
),
|
|
41
|
+
"SMAppServiceStatus": NewType("SMAppServiceStatus", int),
|
|
42
|
+
}
|
|
43
|
+
)
|
|
36
44
|
misc.update({})
|
|
37
45
|
misc.update(
|
|
38
46
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-ServiceManagement
|
|
3
|
-
Version:
|
|
3
|
+
Version: 10.1
|
|
4
4
|
Summary: Wrappers for the framework ServiceManagement on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -18,23 +18,24 @@ 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
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
28
|
Classifier: Programming Language :: Objective C
|
|
28
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.8
|
|
31
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
33
|
License-File: LICENSE.txt
|
|
33
34
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
34
35
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
35
36
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
36
|
-
Requires-Dist: pyobjc-core
|
|
37
|
-
Requires-Dist: pyobjc-framework-Cocoa
|
|
37
|
+
Requires-Dist: pyobjc-core >=10.1
|
|
38
|
+
Requires-Dist: pyobjc-framework-Cocoa >=10.1
|
|
38
39
|
|
|
39
40
|
|
|
40
41
|
Wrappers for framework 'ServiceManagement' on macOS 10.6. This framework
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
ServiceManagement/__init__.py,sha256=eT63GXMCoYHKn7PVmT_QnNTTa8m1Zm5JdkgLxOfjO3s,1088
|
|
2
|
+
ServiceManagement/_metadata.py,sha256=rHLaMnU21CmPxvb9ELuwtlEAYj5h9qvFyrCxAvQY4SQ,4080
|
|
3
|
+
pyobjc_framework_ServiceManagement-10.1.dist-info/LICENSE.txt,sha256=Vg9jjlooYr7zwJPEU4XJbglAL2nrA8D_FGJjJqycXJs,1249
|
|
4
|
+
pyobjc_framework_ServiceManagement-10.1.dist-info/METADATA,sha256=yd3wo1vm8Uqx-Hnp34z63lHPSdAO2uf01eeZjwJLlNE,2458
|
|
5
|
+
pyobjc_framework_ServiceManagement-10.1.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
|
|
6
|
+
pyobjc_framework_ServiceManagement-10.1.dist-info/top_level.txt,sha256=1PUYbDTBUGuOV7N8dmUnGSdRDw2dkJNHcC-J6p2obeg,18
|
|
7
|
+
pyobjc_framework_ServiceManagement-10.1.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
ServiceManagement/__init__.py,sha256=vwdMTWdYTct3Ar-DaecBir41p_pzDKm8xSTOq89U_kI,762
|
|
2
|
-
ServiceManagement/_metadata.py,sha256=tvYL1q9ujd1Ljn2_10-Iau6YJRKLQFpxDdiPdofL1J0,3570
|
|
3
|
-
pyobjc_framework_ServiceManagement-9.2.dist-info/LICENSE.txt,sha256=Vg9jjlooYr7zwJPEU4XJbglAL2nrA8D_FGJjJqycXJs,1249
|
|
4
|
-
pyobjc_framework_ServiceManagement-9.2.dist-info/METADATA,sha256=c9Cy0DqfGs_D7F7Y0JNKsX29wSQ83lmuS5MXmPn8Yxk,2407
|
|
5
|
-
pyobjc_framework_ServiceManagement-9.2.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
|
|
6
|
-
pyobjc_framework_ServiceManagement-9.2.dist-info/top_level.txt,sha256=1PUYbDTBUGuOV7N8dmUnGSdRDw2dkJNHcC-J6p2obeg,18
|
|
7
|
-
pyobjc_framework_ServiceManagement-9.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|