silence warning "Unknown distribution option: 'test_suite'", seems not work anymore (2.x only?) - test suite shall be invoked using `bin/fail2ban-testcases`

pull/1615/merge
sebres 2025-08-23 22:18:56 +02:00
parent a055568500
commit c9e1a1b087
1 changed files with 1 additions and 9 deletions

View File

@ -157,13 +157,6 @@ too many password failures. It updates firewall rules
to reject the IP address or executes user defined
commands.'''
if setuptools:
setup_extra = {
'test_suite': "fail2ban.tests.utils.gatherTests",
}
else:
setup_extra = {}
data_files_extra = []
if os.path.exists('/var/run'):
# if we are on the system with /var/run -- we are to use it for having fail2ban/
@ -249,8 +242,7 @@ setup(
('/var/lib/fail2ban',
''
),
] + data_files_extra,
**setup_extra
] + data_files_extra
)
# Do some checks after installation