shuck-cli 0.0.38__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.
- shuck_cli/__init__.py +1 -0
- shuck_cli/_launcher.py +29 -0
- shuck_cli/bin/shuck.exe +0 -0
- shuck_cli-0.0.38.dist-info/METADATA +31 -0
- shuck_cli-0.0.38.dist-info/RECORD +8 -0
- shuck_cli-0.0.38.dist-info/WHEEL +5 -0
- shuck_cli-0.0.38.dist-info/entry_points.txt +2 -0
- shuck_cli-0.0.38.dist-info/top_level.txt +1 -0
shuck_cli/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Python wheel wrapper for the shuck CLI."""
|
shuck_cli/_launcher.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
import subprocess
|
|
5
|
+
import sys
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def bundled_binary_path() -> Path:
|
|
10
|
+
binary_name = "shuck.exe" if os.name == "nt" else "shuck"
|
|
11
|
+
return Path(__file__).resolve().parent / "bin" / binary_name
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def main() -> int:
|
|
15
|
+
binary_path = bundled_binary_path()
|
|
16
|
+
if not binary_path.is_file():
|
|
17
|
+
print(
|
|
18
|
+
f"shuck-cli wheel is missing bundled executable: {binary_path}",
|
|
19
|
+
file=sys.stderr,
|
|
20
|
+
)
|
|
21
|
+
return 1
|
|
22
|
+
|
|
23
|
+
argv = [os.fspath(binary_path), *sys.argv[1:]]
|
|
24
|
+
if os.name != "nt":
|
|
25
|
+
os.execv(os.fspath(binary_path), argv)
|
|
26
|
+
return 0
|
|
27
|
+
|
|
28
|
+
completed = subprocess.run(argv, check=False)
|
|
29
|
+
return completed.returncode
|
shuck_cli/bin/shuck.exe
ADDED
|
Binary file
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: shuck-cli
|
|
3
|
+
Version: 0.0.38
|
|
4
|
+
Summary: Python wheel wrapper for the shuck CLI binary
|
|
5
|
+
Author: Eric Hauser
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/ewhauser/shuck
|
|
8
|
+
Project-URL: Issues, https://github.com/ewhauser/shuck/issues
|
|
9
|
+
Project-URL: Repository, https://github.com/ewhauser/shuck
|
|
10
|
+
Keywords: shell,bash,linter,static-analysis,cli
|
|
11
|
+
Classifier: Environment :: Console
|
|
12
|
+
Classifier: Operating System :: MacOS
|
|
13
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
14
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
18
|
+
Requires-Python: >=3.8
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
21
|
+
# shuck-cli
|
|
22
|
+
|
|
23
|
+
`shuck-cli` is the PyPI distribution for the `shuck` command-line tool.
|
|
24
|
+
|
|
25
|
+
Install it with:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pip install shuck-cli
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
The installed executable is still named `shuck`.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
shuck_cli/__init__.py,sha256=44cU7wGogYK_Jyei2BFxfZqSAKzpjhft4HviqVXH2qk,46
|
|
2
|
+
shuck_cli/_launcher.py,sha256=GrKl1LDXKuCWP0EOkbxrEOeP6Q6-B2wfb0EKy99l2oI,730
|
|
3
|
+
shuck_cli/bin/shuck.exe,sha256=AZ2oT4FsWoCUszVTBozdkhf5TabDYhZDvAto97Y_XT4,11025920
|
|
4
|
+
shuck_cli-0.0.38.dist-info/METADATA,sha256=xKC38lYxIs9KYCq9ThQLPWKzOqJ6FekSjGYOzK4wTOg,971
|
|
5
|
+
shuck_cli-0.0.38.dist-info/WHEEL,sha256=GjDPPQwEcripVP6P2r3RxLa-h5Lb9ifGB7FYYtbLDT0,98
|
|
6
|
+
shuck_cli-0.0.38.dist-info/entry_points.txt,sha256=8TL_9W952j2BhFmyVVpTnekqPL4PaGlPG73VVhLfqDs,51
|
|
7
|
+
shuck_cli-0.0.38.dist-info/top_level.txt,sha256=5xPUfaa0BJS-slV0QPIdU3RPKgdkD-DhErvr89-1mc0,10
|
|
8
|
+
shuck_cli-0.0.38.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
shuck_cli
|