Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a656faf

Browse files
committed
Merge pull request #2250 from mdboom/fix-macosx-installation-issues
Fix MacOSX backend installation issues.
2 parents 083c788 + fd64f3a commit a656faf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setupext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ def get_package_data(self):
553553
'backends/web_backend/jquery/css/themes/base/*.*',
554554
'backends/web_backend/jquery/css/themes/base/images/*',
555555
'backends/web_backend/css/*.*',
556+
'backends/Matplotlib.nib/*'
556557
]}
557558

558559

@@ -1605,8 +1606,7 @@ def check(self):
16051606
if sys.platform != 'darwin':
16061607
raise CheckFailed("Mac OS-X only")
16071608

1608-
def get_package_data(self):
1609-
return {'matplotlib': ['backends/Matplotlib.nib/*']}
1609+
return 'darwin'
16101610

16111611
def get_extension(self):
16121612
sources = [

0 commit comments

Comments
 (0)