mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
update conda packaging tool to 4.3.23 version
conda changed location of the index one more time
This commit is contained in:
@@ -14,8 +14,12 @@ def do_list_available_packages():
|
||||
from conda.cli.main_search import common
|
||||
index = common.get_index_trap()
|
||||
except ImportError:
|
||||
from conda.cli.main_search import get_index
|
||||
index = get_index()
|
||||
try:
|
||||
from conda.cli.main_search import get_index
|
||||
index = get_index()
|
||||
except ImportError: # conda.__version__ = 4.3.23
|
||||
from conda.api import get_index
|
||||
index = get_index()
|
||||
|
||||
for pkg in index.values():
|
||||
sys.stdout.write("\t".join([pkg["name"], pkg["version"], ":".join(pkg["depends"])])+chr(10))
|
||||
|
||||
Reference in New Issue
Block a user