hopper-cli 0.1.5__py3-none-win_amd64.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.
- hopper/__init__.py +0 -0
- hopper/__main__.py +18 -0
- hopper/hopper +0 -0
- hopper/hopper.exe +0 -0
- hopper_cli-0.1.5.dist-info/METADATA +5 -0
- hopper_cli-0.1.5.dist-info/RECORD +9 -0
- hopper_cli-0.1.5.dist-info/WHEEL +5 -0
- hopper_cli-0.1.5.dist-info/entry_points.txt +2 -0
- hopper_cli-0.1.5.dist-info/top_level.txt +1 -0
hopper/__init__.py
ADDED
|
File without changes
|
hopper/__main__.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import subprocess
|
|
3
|
+
import sys
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def main() -> None:
|
|
7
|
+
d = os.path.dirname(__file__)
|
|
8
|
+
bin = os.path.join(d, "hopper.exe" if os.name == "nt" else "hopper")
|
|
9
|
+
if not os.path.exists(bin):
|
|
10
|
+
raise RuntimeError(f"hopper binary not found at {bin}")
|
|
11
|
+
# ponytail: exec on Unix (clean signal pass-through), subprocess on Windows
|
|
12
|
+
if os.name == "nt":
|
|
13
|
+
sys.exit(subprocess.call([bin, *sys.argv[1:]]))
|
|
14
|
+
os.execv(bin, [bin, *sys.argv[1:]])
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
if __name__ == "__main__":
|
|
18
|
+
main()
|
hopper/hopper
ADDED
|
Binary file
|
hopper/hopper.exe
ADDED
|
Binary file
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
hopper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
hopper/__main__.py,sha256=FxPrl_9YAEtAHzjK7KWnkxOwH1ectcpSlMeqx7o19ag,504
|
|
3
|
+
hopper/hopper,sha256=spCO40MhdHw0RDohLZh9mZxr1NrGObBKX9f-t7FV4gQ,14137972
|
|
4
|
+
hopper/hopper.exe,sha256=l2TRr3qqNoMs1rB0yo7z6ZnmObuxdsmsY8CF4UcXy7s,14566400
|
|
5
|
+
hopper_cli-0.1.5.dist-info/METADATA,sha256=NQtDzt-d6G_3nlw6xXqa8r9kWFn4wLWjXLq7vDwkaiE,136
|
|
6
|
+
hopper_cli-0.1.5.dist-info/WHEEL,sha256=3I5VVWZdsFlU417aCS2bMRuerS8wsfvBq99MyatBV3A,97
|
|
7
|
+
hopper_cli-0.1.5.dist-info/entry_points.txt,sha256=FBVx5uw71vEw3MhievD2-z3sOxp-ija55gD9pG3TJlE,48
|
|
8
|
+
hopper_cli-0.1.5.dist-info/top_level.txt,sha256=da9y7i1WEtnk6xDC1IFGawj70YlUpmqSUqgDsuZSiEY,7
|
|
9
|
+
hopper_cli-0.1.5.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
hopper
|