pythonnative 0.27.0__py3-none-any.whl → 0.28.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/cli/pn.py +7 -0
- {pythonnative-0.27.0.dist-info → pythonnative-0.28.0.dist-info}/METADATA +1 -1
- {pythonnative-0.27.0.dist-info → pythonnative-0.28.0.dist-info}/RECORD +8 -8
- {pythonnative-0.27.0.dist-info → pythonnative-0.28.0.dist-info}/WHEEL +0 -0
- {pythonnative-0.27.0.dist-info → pythonnative-0.28.0.dist-info}/entry_points.txt +0 -0
- {pythonnative-0.27.0.dist-info → pythonnative-0.28.0.dist-info}/licenses/LICENSE +0 -0
- {pythonnative-0.27.0.dist-info → pythonnative-0.28.0.dist-info}/top_level.txt +0 -0
pythonnative/__init__.py
CHANGED
pythonnative/cli/pn.py
CHANGED
|
@@ -34,6 +34,7 @@ import shutil
|
|
|
34
34
|
import subprocess
|
|
35
35
|
import sys
|
|
36
36
|
import time
|
|
37
|
+
from importlib.metadata import version as pkg_version
|
|
37
38
|
from pathlib import Path
|
|
38
39
|
from typing import Any, Dict, List, Optional
|
|
39
40
|
|
|
@@ -863,6 +864,12 @@ def _run_hot_reload(
|
|
|
863
864
|
|
|
864
865
|
def _build_parser() -> argparse.ArgumentParser:
|
|
865
866
|
parser = argparse.ArgumentParser(prog="pn", description="PythonNative CLI")
|
|
867
|
+
parser.add_argument(
|
|
868
|
+
"--version",
|
|
869
|
+
"-V",
|
|
870
|
+
action="version",
|
|
871
|
+
version=f"pn {pkg_version('pythonnative')}",
|
|
872
|
+
)
|
|
866
873
|
subparsers = parser.add_subparsers()
|
|
867
874
|
|
|
868
875
|
parser_init = subparsers.add_parser("init", help="Scaffold a new project")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pythonnative/__init__.py,sha256=
|
|
1
|
+
pythonnative/__init__.py,sha256=cKoregrvgUaM43CDPb7jwsUNTa9Rs7Wh1t7Z8yQeLfE,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
|
|
@@ -27,7 +27,7 @@ pythonnative/suspense.py,sha256=IxWGXFP3Odriy0uQe9zhrNrObdKer0_WT6v9Vi8Vatg,1466
|
|
|
27
27
|
pythonnative/utils.py,sha256=-hwe_YS19ebpjeygdl3dGeVsYzO4G74rYD53svSi0rI,7593
|
|
28
28
|
pythonnative/virtual_rows.py,sha256=4YK3CeZobW-6F6GCXzGNFfmOaAiigmH4HXtqjYDRbyU,5056
|
|
29
29
|
pythonnative/cli/__init__.py,sha256=NM1psvKe8jT0vzp8Ak4MMoygZz4P_msk5g-YEsY8xLk,232
|
|
30
|
-
pythonnative/cli/pn.py,sha256
|
|
30
|
+
pythonnative/cli/pn.py,sha256=Vej6NiT3N_PoNrEZ-Z94o38m-IaoRi9KYx8Gk2IrQTg,34697
|
|
31
31
|
pythonnative/native_modules/__init__.py,sha256=pgigpHuzT-rqwcjlwJvu93_4L8Nozal1HJid0S_JlmM,2636
|
|
32
32
|
pythonnative/native_modules/app_state.py,sha256=CKAwDQIwoGElSLE3l7Bekk0qRbFVFOTSuSCBybumZEk,2742
|
|
33
33
|
pythonnative/native_modules/battery.py,sha256=-lJu8LURw-yEObXUyhNq_jHFDa1_33lgzbJzXaGqUL4,4429
|
|
@@ -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.28.0.dist-info/licenses/LICENSE,sha256=A69iG7TIAe6KkGQf6xoVHkc5JSZtOr5eRSvC5iuivnI,1067
|
|
120
|
+
pythonnative-0.28.0.dist-info/METADATA,sha256=nSbCHw3bxTSAKbBHn_52uknD35eTKr9_F1OD9Rcyqt4,11895
|
|
121
|
+
pythonnative-0.28.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
122
|
+
pythonnative-0.28.0.dist-info/entry_points.txt,sha256=iUtDawWSAJAEyWTycpZxDuYz73ol31butpzDIEAgPO0,48
|
|
123
|
+
pythonnative-0.28.0.dist-info/top_level.txt,sha256=kT4SEATY2ywzrZ2Pgea6_zxyym44Q_PbOsUoOYjJLFE,13
|
|
124
|
+
pythonnative-0.28.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|