How to install optional python dependencies in setup.py: Difference between revisions
Jump to navigation
Jump to search
(Created page with "For a setup.py that has a section: extras_require = { # Test dependencies 'tests': [ 'bandit>=1.5.0', 'flake8>=3.2.1', 'pytest>=6.1.0',...") |
(No difference)
|
Revision as of 17:19, 25 February 2022
For a setup.py that has a section:
extras_require = { # Test dependencies 'tests': [ 'bandit>=1.5.0', 'flake8>=3.2.1', 'pytest>=6.1.0', ], 'prospector': [ 'prospector[with_everything]>=0.12.4', 'pytest>=6.1.0', ], }
Do
pip install .[prospector]