]> git.ipfire.org Git - thirdparty/suricata.git/commit
python: install without distutils
authorJason Ish <jason.ish@oisf.net>
Tue, 3 May 2022 18:34:57 +0000 (12:34 -0600)
committerJason Ish <jason.ish@oisf.net>
Thu, 1 Sep 2022 17:36:15 +0000 (11:36 -0600)
commitc8a3aa608eaae1acbaf33dba8a7c1a3cbfeb4285
treec4645410de97d8fa6332151310a8cedef49fd822
parent8762699edfa4bc488ef335fc35cef348a5650c5e
python: install without distutils

Instead of using distutils/setuptools for installing the Python code,
just install it into our own Python directory.

Distutils is being removed from Python, and setuptools doesn't work well
when trying to install into your own location. For our usage its just
simpler to install with make.

In addition to removing the configure check for distutils, also remove
the check for pyyaml. This lets the user install pyyaml after Suricata
is installed, and Suricata-Update does handle this case gracefully.

Issue: #5313

(cherry picked from commit 9a1d6af8582be4b817e9f0ffb9d5f591dfc31fb9)
configure.ac
python/Makefile.am
python/bin/suricatactl
python/bin/suricatasc
suricata-update/Makefile.am