Skip to content

Commit

Permalink
Remove test dependencies from normal dependencies (fix #71)
Browse files Browse the repository at this point in the history
Also remove some duplicate deps.
  • Loading branch information
rrthomas committed Aug 25, 2024
1 parent 57e797f commit 4a76284
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@ psresize = "psutils.command.psresize:psresize"
psselect = "psutils.command.psselect:psselect"
pstops = "psutils.command.pstops:pstops"

[project.optional-dependencies]
test = [
"pytest-datafiles",
"Wand",
]

[build-system]
requires = [
"argparse-manpage[setuptools] >= 4.2",
"setuptools >= 60; python_version >= \"3.12\"",
"pytest-datafiles",
"puremagic >= 1.26",
"pypdf >= 4.3.0",
"Wand",
]

[tool.build_manpages]
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ envlist = py39,py310,py311,py312
[testenv]
deps =
argparse-manpage >= 4.2
pypdf >= 4.3.0
Wand
mypy
pylint
pytest-datafiles
setuptools >= 60
types-colorama
types-Pillow
Expand All @@ -19,3 +16,4 @@ commands =
mypy .
pylint psutils tests/*.py setup.py
pytest {posargs}
extras = test

0 comments on commit 4a76284

Please sign in to comment.