create symlinks to installed libraries

This commit is contained in:
2026-01-19 06:32:18 +11:00
parent 81c33d100f
commit 57e763a24f
3 changed files with 7 additions and 15 deletions

View File

@@ -79,3 +79,7 @@ def install(args):
f.close()
console.print(f"[d][:white_check_mark:] Extracted to {extract_dir}.")
console.status("Finishing up...")
os.symlink(os.path.join(extract_dir, package_name, "main.so"), os.path.join(extract_dir, f"{package_name}.so"))
console.print("[:white_check_mark:] Done!")

View File

@@ -86,16 +86,4 @@ def publish(args):
response.raise_for_status()
console.print("[d][:white_check_mark:] Uploaded![/]")
"""console.status("Linking tomineral_name repo...")
print(mineral_name)
link_package_response = requests.post(
url=f"https://chookspace.com/api/v1/packages/ground/general/request/general/link/Digpkg",
auth=HTTPBasicAuth(username, password)
)
if not link_package_response.ok:
console.print(f"[b red]digpkg: failed to link to repo: {link_package_response.content.decode()}[/b red]")
sys.exit(1)
console.print("[d][:white_check_mark:] Linked![/]")"""
console.print("[:white_check_mark:] Done!")

View File

@@ -42,4 +42,4 @@ def remove(args):
sys.exit(1)
response.raise_for_status()
console.print("[d][:white_check_mark:] Success![/]")
console.print("[d][:white_check_mark:] Done![/]")