Safe upgrade fixes

Signed-off-by: Kwpolska <kwpolska@gmail.com>
fixed setup.py — now pyroma says 10/10

Signed-off-by: Kwpolska <kwpolska@gmail.com>