Repository: mdshw5/pyfaidx (language: python)

Issue:
missing setuptools dependency in 0.7.2
When trying to upgrade from 0.7.1 to 0.7.2, I started getting errors from pyfaidx like:

```
../../named_caches/pex_root/venvs/s/ca27a750/venv/lib/python3.8/site-packages/pyfaidx/__init__.py:21: in <module>
    from pkg_resources import get_distribution
E   ModuleNotFoundError: No module named 'pkg_resources'
```

It seems that in the switch to pyproject.toml, the dependency on setuptools got droped.
missing setuptools dependency in 0.7.2
When trying to upgrade from 0.7.1 to 0.7.2, I started getting errors from pyfaidx like:

```
../../named_caches/pex_root/venvs/s/ca27a750/venv/lib/python3.8/site-packages/pyfaidx/__init__.py:21: in <module>
    from pkg_resources import get_distribution
E   ModuleNotFoundError: No module named 'pkg_resources'
```

It seems that in the switch to pyproject.toml, the dependency on setuptools got droped.


Discussion / hints:

Fix patch:
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"]
 


Test patch:
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)