yellowcode 0.1.0a30__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.
yellowcode/__init__.py ADDED
@@ -0,0 +1 @@
1
+ """Yellowcode command line: runs the console binary shipped in this wheel."""
yellowcode/__main__.py ADDED
@@ -0,0 +1,24 @@
1
+ import os
2
+ import subprocess
3
+ import sys
4
+ from pathlib import Path
5
+
6
+
7
+ def binary() -> str:
8
+ exe = "yellowcode.exe" if os.name == "nt" else "yellowcode"
9
+ return str(Path(__file__).resolve().parent / "bin" / exe)
10
+
11
+
12
+ def main() -> None:
13
+ exe = binary()
14
+ args = [exe, *sys.argv[1:]]
15
+ if os.name == "nt":
16
+ try:
17
+ sys.exit(subprocess.run(args).returncode)
18
+ except KeyboardInterrupt:
19
+ sys.exit(130)
20
+ os.execv(exe, args)
21
+
22
+
23
+ if __name__ == "__main__":
24
+ main()
@@ -0,0 +1,2 @@
1
+ # platform 8.3.27.1859
2
+ # provisional/static-profile; runtime_verified=false; UNVERIFIED: no native category observations, zero rows; see provenance.json