From abacfbd5b768df26d6bbbfd098ded6174df5d929 Mon Sep 17 00:00:00 2001 From: Amandine PERRIN <amandine.perrin@pasteur.fr> Date: Thu, 7 Sep 2023 12:29:32 +0200 Subject: [PATCH] Remove check pip show --- pyproject.toml | 2 +- .../test_make_prokka-quicktree.py | 22 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2d31f8d..eeb9249 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ description="Large scale comparative genomics tools: annotate genomes, do pangen requires-python = ">=3.7" keywords = ["persistent genome", "pangenome", "bacteria", "Bioinformatics", "Comparative genomics", "core genome", "phylogenetic tree", "alignment", "families"] -license = {file = "COPYING"} +license = {text = "aGPL v3"} classifiers = [ "Environment :: Console", "Intended Audience :: Science/Research", diff --git a/test/test_install/test_make_prokka-quicktree.py b/test/test_install/test_make_prokka-quicktree.py index 7d709cf..3315f54 100755 --- a/test/test_install/test_make_prokka-quicktree.py +++ b/test/test_install/test_make_prokka-quicktree.py @@ -52,17 +52,17 @@ def test_install_prokka_quicktree(): assert utils.check_installed("prokka") assert utils.check_installed("PanACoTA") assert utils.check_installed('quicktree') - cmd = "pip3 show PanACoTA" - err = "error pip3" - stdout = "stdout_pip3show.out" - with open(stdout, "w") as stdof: - utils.run_cmd(cmd, err, stdout=stdof, stderr=stdof) - with open(stdout, "r") as stdof: - for line in stdof: - if line.startswith("Location"): - loc = line.split()[-1] - assert glob.glob(os.path.join(loc, r'PanACoTA*dist-info')) - os.remove(stdout) + # cmd = "pip3 show PanACoTA" + # err = "error pip3" + # stdout = "stdout_pip3show.out" + # with open(stdout, "w") as stdof: + # utils.run_cmd(cmd, err, stdout=stdof, stderr=stdof) + # with open(stdout, "r") as stdof: + # for line in stdof: + # if line.startswith("Location"): + # loc = line.split()[-1] + # assert glob.glob(os.path.join(loc, r'PanACoTA*dist-info')) + # os.remove(stdout) logfile = "install.log" content = ["Installing PanACoTA...", "DONE", "Some dependencies needed for some subcommands of PanACoTA are " -- GitLab