Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
python-setuptools.9233
setuptools-5.4.1-create-sitedir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File setuptools-5.4.1-create-sitedir.patch of Package python-setuptools.9233
Index: setuptools-15.0/setuptools/command/easy_install.py =================================================================== --- setuptools-15.0.orig/setuptools/command/easy_install.py +++ setuptools-15.0/setuptools/command/easy_install.py @@ -415,6 +415,13 @@ class easy_install(Command): instdir = normalize_path(self.install_dir) pth_file = os.path.join(instdir, 'easy-install.pth') + # make sure that the directory exists + if not os.path.exists(instdir): + try: + os.makedirs(instdir) + except (OSError,IOError): + self.cant_write_to_target() + # Is it a configured, PYTHONPATH, implicit, or explicit site dir? is_site_dir = instdir in self.all_site_dirs
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor