File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -190,9 +190,6 @@ class install(Command):
190
190
191
191
negative_opt = {'no-compile' : 'compile' }
192
192
193
- # Allow Fedora to add components to the prefix
194
- _prefix_addition = getattr (sysconfig , '_prefix_addition' , "" )
195
-
196
193
def initialize_options (self ):
197
194
"""Initializes options."""
198
195
# High-level options: these select both an installation base
@@ -473,10 +470,13 @@ def finalize_unix(self):
473
470
raise DistutilsOptionError (
474
471
"must not supply exec-prefix without prefix" )
475
472
473
+ # Allow Fedora to add components to the prefix
474
+ _prefix_addition = getattr (sysconfig , '_prefix_addition' , "" )
475
+
476
476
self .prefix = (
477
- os .path .normpath (sys .prefix ) + self . _prefix_addition )
477
+ os .path .normpath (sys .prefix ) + _prefix_addition )
478
478
self .exec_prefix = (
479
- os .path .normpath (sys .exec_prefix ) + self . _prefix_addition )
479
+ os .path .normpath (sys .exec_prefix ) + _prefix_addition )
480
480
481
481
else :
482
482
if self .exec_prefix is None :
You can’t perform that action at this time.
0 commit comments