def expand_dirs(self):
        """Calls `os.path.expanduser` on install dirs."""
        dirs = [
            'install_purelib',
            'install_platlib',
            'install_lib',
            'install_headers',
            'install_scripts',
            'install_data',
        ]
        self._expand_attrs(dirs)
Calls `os.path.expanduser` on install dirs.
product/gradle-plugin/src/main/python/setuptools/command/easy_install.py