Skip to content

Commit

Permalink
Merge pull request #207 from mdshw5/206-missing-setuptools-dependency…
Browse files Browse the repository at this point in the history
…-in-072

missing setuptools dependency in v0.7.2
  • Loading branch information
mdshw5 authored Feb 16, 2023
2 parents 9bc371e + 5a74e14 commit dbb5872
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ classifiers = [
"Topic :: Scientific/Engineering :: Bio-Informatics"
]
dependencies = [
"six"
"six",
"setuptools"
]
dynamic = ["version"]

Expand Down
6 changes: 5 additions & 1 deletion tests/test_feature_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
shutil.rmtree(tmp_dir)

0 comments on commit dbb5872

Please sign in to comment.