Skip to content

Commit

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

tests_require = [
"check-manifest>=0.25",
"coverage>=4.0",
"pydocstyle>=1.0.0",
"pytest-cache>=1.0",
"pytest-cov>=1.8.0",
"pytest-pep8>=1.0.6",
"pytest>=3.8.0",
]

extras_require = {
"docs": [
"myst-parser",
"Sphinx>=1.4.4",
"sphinx-rtd-theme>=0.1.9",
],
"tests": tests_require,
"tests": [
"check-manifest>=0.25",
"coverage>=4.0",
"pydocstyle>=1.0.0",
"pytest-cache>=1.0",
"pytest-cov>=1.8.0",
"pytest-pep8>=1.0.6",
"pytest>=3.8.0",
],
}

extras_require["all"] = []
Expand Down Expand Up @@ -64,7 +62,6 @@
packages=["reana_message_broker"],
zip_safe=False,
extras_require=extras_require,
tests_require=tests_require,
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
Expand Down

0 comments on commit bc33342

Please sign in to comment.