mytestcli1234321 0.2.1__py3-none-win_arm64.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.
@@ -0,0 +1,29 @@
1
+ import os
2
+ import subprocess
3
+ import sys
4
+ import platform
5
+
6
+
7
+ def main():
8
+ system = platform.system().lower()
9
+
10
+ if system == "windows":
11
+ binary_name = "mytestcli1234321.exe"
12
+ else:
13
+ binary_name = "mytestcli1234321"
14
+
15
+ binary_path = os.path.join(os.path.dirname(__file__), "bin", binary_name)
16
+
17
+ if not os.path.isfile(binary_path):
18
+ print(
19
+ f"mytestcli1234321: binary not found at {binary_path}\n"
20
+ f"try reinstalling: pip install mytestcli1234321",
21
+ file=sys.stderr,
22
+ )
23
+ sys.exit(1)
24
+
25
+ if system == "windows":
26
+ proc = subprocess.run([binary_path] + sys.argv[1:])
27
+ sys.exit(proc.returncode)
28
+ else:
29
+ os.execv(binary_path, [binary_path] + sys.argv[1:])
@@ -0,0 +1,4 @@
1
+ Metadata-Version: 2.1
2
+ Name: mytestcli1234321
3
+ Version: 0.2.1
4
+ Requires-Python: >=3.7
@@ -0,0 +1,6 @@
1
+ mytestcli1234321/bin/mytestcli1234321.exe,sha256=PnChTkpAw1INppH9M7Cc2JyKlUxx7DGAxf5vC0wRNV8,2451456
2
+ mytestcli1234321/__init__.py,sha256=wPppHbG7VmjQ4_gYldwHBSI7mdBOAzX7Trrt5boNbVg,752
3
+ mytestcli1234321-0.2.1.dist-info/METADATA,sha256=btXzX2TbMwrYXlTlszGJayRPy0xIl_cLZjd-RtgWpBw,83
4
+ mytestcli1234321-0.2.1.dist-info/WHEEL,sha256=OsDn4BwVQRqAYlkD4BRAwYu7ioSBwMUxlMrzFOFxtPE,85
5
+ mytestcli1234321-0.2.1.dist-info/entry_points.txt,sha256=p_b4vValYNmokEeUDmgtkiNPonkMsLWXIxpaZg7AzFo,59
6
+ mytestcli1234321-0.2.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: shipbin
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win_arm64
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ mytestcli1234321 = mytestcli1234321:main