mirror of
https://github.com/LCPQ/quantum_package
synced 2024-10-31 19:23:50 +01:00
Add Downloads and lib
This commit is contained in:
parent
e0f360084e
commit
03864ae351
0
install/Downloads/.gitignore
vendored
Normal file
0
install/Downloads/.gitignore
vendored
Normal file
0
lib/.gitignore
vendored
Normal file
0
lib/.gitignore
vendored
Normal file
@ -144,13 +144,15 @@ def check_python():
|
|||||||
def check_avabiliy(binary):
|
def check_avabiliy(binary):
|
||||||
|
|
||||||
if binary == "zlib":
|
if binary == "zlib":
|
||||||
binary = "zlib-flate"
|
binary_name = "zlib-flate"
|
||||||
|
else:
|
||||||
|
binary_name = binary
|
||||||
|
|
||||||
if binary == "python":
|
if binary == "python":
|
||||||
check_python()
|
check_python()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
return check_output(["which", binary])
|
return check_output(["which", binary_name])
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
default_path = d_info[binary].default_path
|
default_path = d_info[binary].default_path
|
||||||
if os.path.exists(default_path):
|
if os.path.exists(default_path):
|
||||||
|
Loading…
Reference in New Issue
Block a user