mirror of
https://github.com/fail2ban/fail2ban.git
synced 2025-11-26 14:20:19 +08:00
silence warning "Unknown distribution option: 'test_suite'", seems not work anymore (2.x only?) - test suite shall be invoked using bin/fail2ban-testcases
This commit is contained in:
10
setup.py
10
setup.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user