diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 04abed1..d357edc 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -32,7 +32,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install "napari[all]" - python -m pip install -e . + python -m pip install -e ".[doc]" - name: Testing run: | diff --git a/requirements.txt b/requirements.txt index de9088e..6d951a6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ # requirements are in setup.cfg # https://caremad.io/posts/2013/07/setup-vs-requirement/ --e ".[dev,doc]" \ No newline at end of file +-e ".[dev]" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 00a26a7..adfe8c8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,20 +36,14 @@ install_requires = numpy qtpy scipy - tqdm>=4.56.0 + tqdm>=4.56.0 superqt - [options.extras_require] testing = pytest + pytest-cov pytest-qt -dev = - pre-commit - black - ruff - check-manifest - %(testing)s doc = sphinx>6 sphinx-autobuild @@ -61,7 +55,13 @@ doc = matplotlib myst-nb napari-sphinx-theme>=0.3.0 - +dev = + pre-commit + black + ruff + check-manifest + %(testing)s + %(doc)s [options.entry_points] napari.manifest = @@ -76,13 +76,11 @@ exclude_lines = if TYPE_CHECKING: raise NotImplementedError() - [tool:pytest] addopts = --durations=10 filterwarnings = ignore::DeprecationWarning - [tool:check-manifest] ignore = pre-commit-config.yaml