Skip to content

Commit

Permalink
build(python): use optional deps instead of tests_require (reanahub…
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonadoni committed Jul 30, 2024
1 parent d6232a5 commit 3397c7e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,16 @@
readme = open("README.md").read()
history = open("CHANGELOG.md").read()

tests_require = [
"pytest-reana>=0.95.0a2,<0.96.0",
]

extras_require = {
"docs": [
"myst-parser",
"Sphinx>=1.5.1",
"sphinx-rtd-theme>=0.1.9",
"sphinx-click>=1.0.4",
],
"tests": tests_require,
"tests": [
"pytest-reana>=0.95.0a2,<0.96.0",
],
}

extras_require["all"] = []
Expand Down Expand Up @@ -80,7 +78,6 @@
python_requires=">=3.8",
extras_require=extras_require,
install_requires=install_requires,
tests_require=tests_require,
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
Expand Down

0 comments on commit 3397c7e

Please sign in to comment.