diff --git a/pyproject.toml b/pyproject.toml index 36542ab..7ba29c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,8 @@ classifiers = [ "Topic :: Scientific/Engineering :: Bio-Informatics" ] dependencies = [ - "six" + "six", + "setuptools" ] dynamic = ["version"] diff --git a/tests/test_feature_indexing.py b/tests/test_feature_indexing.py index 3f029f8..532da49 100644 --- a/tests/test_feature_indexing.py +++ b/tests/test_feature_indexing.py @@ -24,6 +24,10 @@ def remove_index(): os.remove('data/genes.fasta.fai') except EnvironmentError: pass # some tests may delete this file + +def test_version_issue_206(): + import pyfaidx + assert isinstance(pyfaidx.__version__, str) def test_build(remove_index): expect_index = ("gi|563317589|dbj|AB821309.1| 3510 114 70 71\n" @@ -349,4 +353,4 @@ def test_issue_144_no_defline(remove_index): with pytest.raises(FastaIndexingError): faidx = Faidx(fasta_path) finally: - shutil.rmtree(tmp_dir) \ No newline at end of file + shutil.rmtree(tmp_dir)