Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74ead8f commit 17f641cCopy full SHA for 17f641c
1 file changed
Lib/distutils/command/install.py
@@ -356,7 +356,9 @@ def select_scheme (self, name):
356
# it's the caller's problem if they supply a bad name!
357
scheme = INSTALL_SCHEMES[name]
358
for key in ('purelib', 'platlib', 'scripts', 'data'):
359
- setattr (self, 'install_' + key, scheme[key])
+ attrname = 'install_' + key
360
+ if getattr(self, attrname) is None:
361
+ setattr(self, attrname, scheme[key])
362
363
364
def _expand_attrs (self, attrs):
0 commit comments