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 d5eaa5f commit bd86301Copy full SHA for bd86301
1 file changed
Lib/distutils/command/install.py
@@ -313,6 +313,11 @@ def finalize_options(self):
313
314
py_version = sys.version.split()[0]
315
(prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')
316
+ try:
317
+ abiflags = sys.abiflags
318
+ except AttributeError:
319
+ # sys.abiflags may not be defined on all platforms.
320
+ abiflags = ''
321
self.config_vars = {'dist_name': self.distribution.get_name(),
322
'dist_version': self.distribution.get_version(),
323
'dist_fullname': self.distribution.get_fullname(),
@@ -323,7 +328,7 @@ def finalize_options(self):
328
'prefix': prefix,
324
329
'sys_exec_prefix': exec_prefix,
325
330
'exec_prefix': exec_prefix,
326
- 'abiflags': sys.abiflags,
331
+ 'abiflags': abiflags,
327
332
}
333
334
if HAS_USER_SITE:
0 commit comments