8000 Set mim MacOSX req to 10.12 · matplotlib/matplotlib@7791d45 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7791d45

Browse files
committed
Set mim MacOSX req to 10.12
1 parent 45bddd4 commit 7791d45

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

doc/devel/dependencies.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ and the capabilities they provide.
4747
* pycairo_ (>= 1.11.0) or cairocffi_ (>= 0.8): for the GTK and/or cairo-based
4848
backends.
4949
* Tornado_ (>=5): for the WebAgg backend.
50+
* MacOSX (>=10.12): for the macosx backend.
5051

5152
.. _Tk: https://docs.python.org/3/library/tk.html
5253
.. _PyQt5: https://pypi.org/project/PyQt5/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The macosx backend now requires MacOSX >= 10.12.

setupext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,8 @@ def get_extensions(self):
731731
'matplotlib.backends._macosx', [
732732
'src/_macosx.m'
733733
])
734-
ext.extra_compile_args.extend(['-Werror'])
735-
ext.extra_link_args.extend(['-framework', 'Cocoa'])
734+
ext.extra_compile_args.extend(['-Werror', '-mmacosx-version-min=10.12'])
735+
ext.extra_link_args.extend(['-framework', 'Cocoa', '-mmacosx-version-min=10.12'])
736736
if platform.python_implementation().lower() == 'pypy':
737737
ext.extra_compile_args.append('-DPYPY=1')
738738
yield ext

0 commit comments

Comments
 (0)
0