python: clean dependencies