Skip to content

Commit dbb5872

Browse files
authored
Merge pull request #207 from mdshw5/206-missing-setuptools-dependency-in-072
missing setuptools dependency in v0.7.2
2 parents 9bc371e + 5a74e14 commit dbb5872

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ classifiers = [
2727
"Topic :: Scientific/Engineering :: Bio-Informatics"
2828
]
2929
dependencies = [
30-
"six"
30+
"six",
31+
"setuptools"
3132
]
3233
dynamic = ["version"]
3334

tests/test_feature_indexing.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ def remove_index():
2424
os.remove('data/genes.fasta.fai')
2525
except EnvironmentError:
2626
pass # some tests may delete this file
27+
28+
def test_version_issue_206():
29+
import pyfaidx
30+
assert isinstance(pyfaidx.__version__, str)
2731

2832
def test_build(remove_index):
2933
expect_index = ("gi|563317589|dbj|AB821309.1| 3510 114 70 71\n"
@@ -349,4 +353,4 @@ def test_issue_144_no_defline(remove_index):
349353
with pytest.raises(FastaIndexingError):
350354
faidx = Faidx(fasta_path)
351355
finally:
352-
shutil.rmtree(tmp_dir)
356+
shutil.rmtree(tmp_dir)

0 commit comments

Comments
 (0)