Commit 305e6ed0 authored by Kamekameha's avatar Kamekameha Committed by Stefan Behnel

Maintain a separate copy of distutils' build_ext options (GH-3561)

These are mutable and therefore affect the stdlib build_ext options.

Fixes #2209
parent db4241cf
...@@ -84,9 +84,9 @@ class old_build_ext(_build_ext.build_ext): ...@@ -84,9 +84,9 @@ class old_build_ext(_build_ext.build_ext):
description = "build C/C++ and Cython extensions (compile/link to build directory)" description = "build C/C++ and Cython extensions (compile/link to build directory)"
sep_by = _build_ext.build_ext.sep_by sep_by = _build_ext.build_ext.sep_by
user_options = _build_ext.build_ext.user_options user_options = _build_ext.build_ext.user_options[:]
boolean_options = _build_ext.build_ext.boolean_options boolean_options = _build_ext.build_ext.boolean_options[:]
help_options = _build_ext.build_ext.help_options help_options = _build_ext.build_ext.help_options[:]
# Add the pyrex specific data. # Add the pyrex specific data.
user_options.extend([ user_options.extend([
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment