Migrate to setuptools, make python3 compatible, and reducing chattiness
Absolutely open to making changes to this PR, but a few of the changes included are:
-
Migrate to a setuptools packaging strategy. The benefit being that we can then leverage the "python setup.py
" workflow for packaging and installation. -
Made the utility python3 compliant, though this was done with a fairly heavy hand. Further work is remaining to help clean it up and make it more presentable.
-
Corrected the references to the older github page with the new RedHatOfficial/rhsecapi URL.
-
Reduced the chattiness of the utility outside of the query responses themselves. This translates mostly into setting a default logging level of WARNING so that we don't get the NOTICE messages unless we want them.
It's been a few months, so - Bump!
(Quite) a few more months. - Bump!
@ryran is it possible to bump this? Still need more pythonic love :)
Hi, any chance this could be merged at some point? The Python 3 support would be most desirable. Is there still something missing?
Any updates on this?
Any updates on this?
Just a heads-up, I have a COPR that auto-builds this fork on tag events.
(Edit: It helps to include the COPR in the message...) https://copr.fedorainfracloud.org/coprs/kwalker/rhsecapi/ (End Edit)
I also just went through the joy(more like pain) of moving the build process from rpkg to tito. The former seems to no longer be maintained upstream.
For anyone that is looking for a quick solution.