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 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,5 @@
1
+ Metadata-Version: 2.4
2
+ Name: hopper-cli
3
+ Version: 0.1.5
4
+ Summary: A git-like CLI for tutors on the hopper platform.
5
+ Requires-Python: >=3.8
@@ -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,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-win_amd64
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ hopper = hopper.__main__:main
@@ -0,0 +1 @@
1
+ hopper