8000
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.
2 parents a8d097a + 58ccfa5 commit 8f2df0bCopy full SHA for 8f2df0b
distutils/command/install.py
@@ -471,8 +471,13 @@ def finalize_unix(self):
471
raise DistutilsOptionError(
472
"must not supply exec-prefix without prefix")
473
474
- self.prefix = os.path.normpath(sys.prefix)
475
- self.exec_prefix = os.path.normpath(sys.exec_prefix)
+ # Allow Fedora to add components to the prefix
+ _prefix_addition = getattr(sysconfig, '_prefix_addition', "")
476
+
477
+ self.prefix = (
478
+ os.path.normpath(sys.prefix) + _prefix_addition)
479
+ self.exec_prefix = (
480
+ os.path.normpath(sys.exec_prefix) + _prefix_addition)
481
482
else:
483
if self.exec_prefix is None:
0 commit comments