pythonnative 0.28.0__py3-none-any.whl → 0.29.0__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.
- pythonnative/__init__.py +1 -1
- pythonnative/project/doctor.py +21 -1
- {pythonnative-0.28.0.dist-info → pythonnative-0.29.0.dist-info}/METADATA +1 -1
- {pythonnative-0.28.0.dist-info → pythonnative-0.29.0.dist-info}/RECORD +8 -8
- {pythonnative-0.28.0.dist-info → pythonnative-0.29.0.dist-info}/WHEEL +0 -0
- {pythonnative-0.28.0.dist-info → pythonnative-0.29.0.dist-info}/entry_points.txt +0 -0
- {pythonnative-0.28.0.dist-info → pythonnative-0.29.0.dist-info}/licenses/LICENSE +0 -0
- {pythonnative-0.28.0.dist-info → pythonnative-0.29.0.dist-info}/top_level.txt +0 -0
pythonnative/__init__.py
CHANGED
pythonnative/project/doctor.py
CHANGED
|
@@ -61,8 +61,17 @@ def _which_version(tool: str, version_args: List[str]) -> Optional[str]:
|
|
|
61
61
|
return text[0] if text else path
|
|
62
62
|
|
|
63
63
|
|
|
64
|
+
def _tkinter_available() -> bool:
|
|
65
|
+
"""Return whether the host Python can import Tkinter."""
|
|
66
|
+
try:
|
|
67
|
+
import tkinter # noqa: F401
|
|
68
|
+
except ImportError:
|
|
69
|
+
return False
|
|
70
|
+
return True
|
|
71
|
+
|
|
72
|
+
|
|
64
73
|
def check_common() -> List[CheckResult]:
|
|
65
|
-
"""Run platform-agnostic checks (interpreter
|
|
74
|
+
"""Run platform-agnostic checks (interpreter and optional dependencies).
|
|
66
75
|
|
|
67
76
|
Returns:
|
|
68
77
|
Check results for the host Python and optional dependencies.
|
|
@@ -89,6 +98,17 @@ def check_common() -> List[CheckResult]:
|
|
|
89
98
|
"not installed; run: pip install 'pythonnative[build]'",
|
|
90
99
|
)
|
|
91
100
|
)
|
|
101
|
+
if _tkinter_available():
|
|
102
|
+
results.append(CheckResult("Tkinter (desktop preview)", OK))
|
|
103
|
+
else:
|
|
104
|
+
results.append(
|
|
105
|
+
CheckResult(
|
|
106
|
+
"Tkinter (desktop preview)",
|
|
107
|
+
WARN,
|
|
108
|
+
"not installed; macOS: brew install python-tk; Debian/Ubuntu: sudo apt-get install python3-tk; "
|
|
109
|
+
"Windows: reinstall Python with the 'tcl/tk' option checked",
|
|
110
|
+
)
|
|
111
|
+
)
|
|
92
112
|
return results
|
|
93
113
|
|
|
94
114
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pythonnative/__init__.py,sha256=
|
|
1
|
+
pythonnative/__init__.py,sha256=Cij9MFRGS4HwHwvlTMGzXm9anz6Us1MjC8SSKYAsh9M,8680
|
|
2
2
|
pythonnative/_ios_log.py,sha256=Oi7V28VxcVoZyrpAirvLeEmUW18McqnU87V4d37Zzlw,2582
|
|
3
3
|
pythonnative/alerts.py,sha256=mIANysFlaHwL5EqKnvNcyiJN9rGiZi9XDrD9Jpz1RFM,9340
|
|
4
4
|
pythonnative/animated.py,sha256=A4IOBf_GD6lUn0H8ArFH6URf0-m0PG__8uaxcw6-ECE,60373
|
|
@@ -53,7 +53,7 @@ pythonnative/project/android.py,sha256=ynRQwVvv1trFB2eFaUv38-48q4m0_Z4cTbAFEOiKn
|
|
|
53
53
|
pythonnative/project/builder.py,sha256=TTN_ymdSyF4wVtSRRwOnSmc91LMn_g_M7_jTI0NtbVU,23946
|
|
54
54
|
pythonnative/project/config.py,sha256=CmN6VojcuDRVnLwKFnQyd9B20_HL9l0RWDnO91G_JaY,25001
|
|
55
55
|
pythonnative/project/devices.py,sha256=OkPzqaD6l4xNJer-rKzorAS9IgvsE87g0JK-2V8FIgE,9593
|
|
56
|
-
pythonnative/project/doctor.py,sha256=
|
|
56
|
+
pythonnative/project/doctor.py,sha256=cNCUWyzu4WBJ9peARIgQ2AyoAGp81NKKM5VkIx7dpFE,8623
|
|
57
57
|
pythonnative/project/icons.py,sha256=GaXpktQ9v4v2JZPM3ppueNPmwjTuFiLanHJDaZbLGuo,7945
|
|
58
58
|
pythonnative/project/ios.py,sha256=Xrx2Jh1v4-3ftLkvKAHQuXCA5nuBdKV5nmTTXkDFaNA,13077
|
|
59
59
|
pythonnative/project/permissions.py,sha256=WyApoqZ0mCTeAtffYbpCGV-bgLvOG7SlPcV7zSO_IV8,14227
|
|
@@ -116,9 +116,9 @@ pythonnative/templates/ios_template/ios_template.xcodeproj/project.xcworkspace/x
|
|
|
116
116
|
pythonnative/templates/ios_template/ios_templateTests/ios_templateTests.swift,sha256=YnwzZx7yXB13xKAXEGNgz17VuhWeqkHTRTtBJ2Vu3_E,1238
|
|
117
117
|
pythonnative/templates/ios_template/ios_templateUITests/ios_templateUITests.swift,sha256=HLRr3cmouRqQeXG13WrZ2XSAmgMgCsNXfZpbwkxeFcs,1385
|
|
118
118
|
pythonnative/templates/ios_template/ios_templateUITests/ios_templateUITestsLaunchTests.swift,sha256=f5JrG0uVtLMeJQy26Yyz7Om-JUkT220osqcbeIVkj2g,815
|
|
119
|
-
pythonnative-0.
|
|
120
|
-
pythonnative-0.
|
|
121
|
-
pythonnative-0.
|
|
122
|
-
pythonnative-0.
|
|
123
|
-
pythonnative-0.
|
|
124
|
-
pythonnative-0.
|
|
119
|
+
pythonnative-0.29.0.dist-info/licenses/LICENSE,sha256=A69iG7TIAe6KkGQf6xoVHkc5JSZtOr5eRSvC5iuivnI,1067
|
|
120
|
+
pythonnative-0.29.0.dist-info/METADATA,sha256=4beAvXdapIQed2lDSEkQ_3T-3RgWGFpYRHv1QZTsTeA,11895
|
|
121
|
+
pythonnative-0.29.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
122
|
+
pythonnative-0.29.0.dist-info/entry_points.txt,sha256=iUtDawWSAJAEyWTycpZxDuYz73ol31butpzDIEAgPO0,48
|
|
123
|
+
pythonnative-0.29.0.dist-info/top_level.txt,sha256=kT4SEATY2ywzrZ2Pgea6_zxyym44Q_PbOsUoOYjJLFE,13
|
|
124
|
+
pythonnative-0.29.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|