create symlinks to installed libraries
This commit is contained in:
@@ -78,4 +78,8 @@ def install(args):
|
|||||||
tar_file.extractall(extract_dir)
|
tar_file.extractall(extract_dir)
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
console.print(f"[d][:white_check_mark:] Extracted to {extract_dir}.")
|
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()
|
response.raise_for_status()
|
||||||
console.print("[d][:white_check_mark:] Uploaded![/]")
|
console.print("[d][:white_check_mark:] Uploaded![/]")
|
||||||
|
|
||||||
"""console.status("Linking tomineral_name repo...")
|
console.print("[:white_check_mark:] Done!")
|
||||||
|
|
||||||
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![/]")"""
|
|
||||||
@@ -42,4 +42,4 @@ def remove(args):
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
response.raise_for_status()
|
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