From 25fde24f0eb2cde335f91d53086cb8afee6333eb Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Tue, 25 Jan 2022 22:07:13 +0100 Subject: [PATCH] Correctly define extras in `setup.cfg` (#755) * Use `extras` to define extras in `setup.cfg` * Go back to using `entry_points` in `setup.cfg` Co-authored-by: Eric Brown --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 392061827..154514b3b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,13 +26,13 @@ classifier = project_urls = Release notes = https://github.com/PyCQA/bandit/releases -[options.extras_require] +[extras] yaml = PyYAML toml = toml -[options.entry_points] +[entry_points] console_scripts = bandit = bandit.cli.main:main bandit-config-generator = bandit.cli.config_generator:main