]> git.ipfire.org Git - thirdparty/suricata-update.git/commit
Install requirements if using pip 66/head
authorShivani Bhardwaj <shivanib134@gmail.com>
Fri, 23 Nov 2018 14:55:29 +0000 (20:25 +0530)
committerJason Ish <ish@unx.ca>
Fri, 23 Nov 2018 17:26:57 +0000 (11:26 -0600)
commit0f8413ad908bc74b3077000bb2775caed51e35b5
treeba52679ca30eb4cddcee69d2e304a3d15abc1c36
parentcd8457f564da873fbdbefb17bfc8b9e58dcd61d2
Install requirements if using pip

Current setup was using distutils which does not allow to define the
requirements of a package. Check if the installation of
`suricata-update` is being done with `pip` and if it is, install the
requirements while installing the package.
This way distutils will not throw a warning of the `install_requires`
option being unrecognized, however, it would still not install the
requirements.
Now, with the installation of `suricata-update` package, all the
requirements are installed as well if it is installed with `pip`.

Closes redmine ticket #2667
setup.py