diff --git a/pyproject.toml b/pyproject.toml index 4b6dc9c..9229df9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,6 @@ dependencies = [ "imbalanced-learn~=0.9.1", "seaborn~=0.12.1", "matplotlib~=3.6.2", - "click~=8.1.3", "scikit-posthocs~=0.7.0", "pydantic~=1.10.5", ] @@ -41,11 +40,15 @@ notebooks = [ "tqdm~=4.64.1", "jupyter~=1.0.0", ] +cli = [ + "click~=8.1.3" +] all = [ "multi-imbalance[test]", "multi-imbalance[lint]", "multi-imbalance[dev]", "multi-imbalance[notebooks]", + "multi-imbalance[cli]" ] [project.urls] @@ -53,7 +56,7 @@ homepage = "https://github.com/damian-horna/multi-imbalance" documentation = "https://github.com/damian-horna/multi-imbalance/blob/master/README.md" [tool.pytest.ini_options] -addopts = "--cov=." +addopts = "--cov=multi_imbalance" testpaths = ["tests"] [tool.setuptools.packages.find] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 71e9137..0000000 --- a/requirements.txt +++ /dev/null @@ -1,13 +0,0 @@ -numpy~=1.23.4 -scikit-learn~=1.1.3 -pandas~=1.5.1 -imbalanced-learn~=0.9.1 -seaborn~=0.12.1 -matplotlib~=3.6.2 -IPython~=8.6.0 -ipykernel~=6.17.0 -tqdm~=4.64.1 -jupyter~=1.0.0 -pytest~=7.2.0 -pytest-cov~=4.0.0 -coverage~=6.5.0 \ No newline at end of file diff --git a/tox.ini b/tox.ini index c2526cd..590c32c 100644 --- a/tox.ini +++ b/tox.ini @@ -11,8 +11,8 @@ python = [testenv] setenv = PYTHONPATH = {toxinidir} -deps = - -r{toxinidir}/requirements.txt +extras = + all commands = pytest --cov-report term-missing --basetemp={envtmpdir} coverage combine