Skip to content

Commit

Permalink
Declare test dependencies in [test] extra (#86)
Browse files Browse the repository at this point in the history
Adding a test dependency on 'pytest' will cause colcon to use pytest
when running the package's tests, which yields a better experience than
the existing fallback to unittest.
  • Loading branch information
cottsay committed Oct 19, 2022
1 parent d03cf03 commit 77cf537
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Expand Up @@ -20,6 +20,13 @@
['resource/' + package_name]),
],
install_requires=install_requires,
extras_require={
'test': [
'flake8',
'flake8_import_order',
'pytest',
],
},
python_requires='>=3.5',
zip_safe=True,
author='William Woodall',
Expand Down

0 comments on commit 77cf537

Please sign in to comment.