Remove unused imports, no longer existing console_scripts and no longer needed dependencies.