agr-opentui 0.3.2__py3-none-any.whl → 0.3.3__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.
Binary file
agr_opentui/cli.py ADDED
@@ -0,0 +1,28 @@
1
+ """CLI launcher for the packaged OpenTUI binary."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import os
6
+ import sys
7
+ from pathlib import Path
8
+
9
+ _BINARY_NAME = "agr-opentui"
10
+
11
+
12
+ def _binary_path() -> Path:
13
+ return Path(__file__).resolve().parent / "bin" / _BINARY_NAME
14
+
15
+
16
+ def main() -> None:
17
+ binary = _binary_path()
18
+ if not binary.exists():
19
+ raise SystemExit(
20
+ "agr-opentui binary is not bundled in this build. "
21
+ "Install a wheel that includes the binary for your platform."
22
+ )
23
+
24
+ os.execv(str(binary), [str(binary), *sys.argv[1:]])
25
+
26
+
27
+ if __name__ == "__main__":
28
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agr-opentui
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: OpenTUI frontend for agr
5
5
  Project-URL: Homepage, https://github.com/RelativeSure/agr-opentui
6
6
  Project-URL: Repository, https://github.com/RelativeSure/agr-opentui
@@ -14,10 +14,10 @@ Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: MIT License
15
15
  Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Topic :: Software Development :: Build Tools
19
19
  Classifier: Topic :: Utilities
20
- Requires-Python: >=3.14.3
20
+ Requires-Python: >=3.10
21
21
  Requires-Dist: agr>=0.7.4
22
22
  Description-Content-Type: text/markdown
23
23
 
@@ -0,0 +1,8 @@
1
+ agr_opentui/__init__.py,sha256=noLIoaeF0mg3fcx2LNZjDFKGS7ioA-FDCxKLIdM0v8w,38
2
+ agr_opentui/bridge.py,sha256=NmhjSq8jSvxttue0iHV8F484pfaCDMXaVlWz3qTugZw,4551
3
+ agr_opentui/cli.py,sha256=164eX-rPilq-KHQhMHNBmOYAhU9ZrZrgFx8EcRti-YI,610
4
+ agr_opentui/bin/agr-opentui,sha256=TfDYPg0eItRu1Tx-UznduPuAu3pKCxGECaHRynl549A,110442862
5
+ agr_opentui-0.3.3.dist-info/METADATA,sha256=d996o4yWKb1o1BAxdKeTknD9za3C2p4JAUM-ijOpTx8,5016
6
+ agr_opentui-0.3.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
7
+ agr_opentui-0.3.3.dist-info/entry_points.txt,sha256=u_9GfxrXB4R6RGBsmYzGsTKyWytMy-3qbhFbL_gOh4A,53
8
+ agr_opentui-0.3.3.dist-info/RECORD,,
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ agr-opentui = agr_opentui.cli:main
@@ -1,5 +0,0 @@
1
- agr_opentui/__init__.py,sha256=noLIoaeF0mg3fcx2LNZjDFKGS7ioA-FDCxKLIdM0v8w,38
2
- agr_opentui/bridge.py,sha256=NmhjSq8jSvxttue0iHV8F484pfaCDMXaVlWz3qTugZw,4551
3
- agr_opentui-0.3.2.dist-info/METADATA,sha256=SyIbYtMcTzC3ktcdPbXBkar0KRwFLgg19CPvBftpkrk,5018
4
- agr_opentui-0.3.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
5
- agr_opentui-0.3.2.dist-info/RECORD,,