If you install python3-pynacl and python3-pymilter with yum, then that would avoid the need to install all the devel packages assuming that, as is the case on Debian, pip will recognize dependencies as satisfied by system packages. In that case, you'd do:
('sysconfigdir=', 'e', 'Specify system configuration directory. [/usr/local/etc]'), ('sbindir=', 's', 'Specify system binary directory. [/usr/local/sbin]'),
('bindir=', 'b', 'Specify binary directory. [/usr/loca/bin]'),
('rundir=', 'r', 'Specify run state directory. [/run]'),
I'd have to add the systemd unit location, but that's not hard. It looks like it's possible to pass arguments via pip, so it should be possible to get everything in the right place when installing via pip.
If you install python3-pynacl and python3-pymilter with yum, then that would avoid the need to install all the devel packages assuming that, as is the case on Debian, pip will recognize dependencies as satisfied by system packages. In that case, you'd do:
yum install python3 python3-pynacl python3-pymilter
pip3 install dkimpy_milter
In git master you can currently specify:
('bindir=', 'b', 'Specify binary directory. [/usr/loca/bin]'),
('rundir=', 'r', 'Specify run state directory. [/run]'),
I'd have to add the systemd unit location, but that's not hard. It looks like it's possible to pass arguments via pip, so it should be possible to get everything in the right place when installing via pip.