python: remove inline patch and upgrade setuptools

Solves the problem: