create symlinks to installed libraries
This commit is contained in:
@@ -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!")
|
||||
@@ -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!")
|
||||
@@ -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![/]")
|
||||
Reference in New Issue
Block a user