do not install the suricata Python module
authorSascha Steinbiss <satta@debian.org>
Wed, 21 Sep 2022 16:39:53 +0000 (17:39 +0100)
committerSascha Steinbiss <satta@debian.org>
Wed, 21 Sep 2022 16:39:53 +0000 (17:39 +0100)
Bug: https://redmine.openinfosecfoundation.org/issues/3156
Last-Update: 2019-09-18

Suricata's Python tools only import submodules of 'suricata'. Not installing
this module ensures that there is no chance of having an __init__.py in the
root module directory that might clash with other packages, e.g. suricata-
update.

Gbp-Pq: Name remove-conflicting-python-file.patch

python/setup.py

index 7e644419147b137a7849fca88e94ffd2bf2da5de..6e5f9b90ae7f96c27ded86c91379c1fed88e4830 100644 (file)
@@ -49,7 +49,6 @@ setup(
     author_email='oisf-devel@lists.openinfosecfoundation.org, eric@regit.org',
     url='https://www.suricata-ids.org/',
     packages=[
-        "suricata",
         "suricata.config",
         "suricata.ctl",
         "suricata.sc",