8000 Modified setupext.py for baseline images/test data exclusion at all t… · matplotlib/matplotlib@46d5bef · GitHub
[go: up one dir, main page]

Skip to content

Commit 46d5bef

Browse files
Modified setupext.py for baseline images/test data exclusion at all times
1 parent c25730f commit 46d5bef

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

setup.cfg.template

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
#system_freetype = False
1010
#system_qhull = False
1111

12+
[packages]
13+
# There are a number of data subpackages from Matplotlib that are
14+
# considered optional. Sample data are installed by default, but that can be
15+
# changed here.
16+
#sample_data = True
17+
1218
[gui_support]
1319
# Matplotlib supports multiple GUI toolkits, known as backends.
1420
# The MacOSX backend requires the Cocoa headers included with XCode.

setupext.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -439,24 +439,6 @@ def get_package_data(self):
439439
}
440440

441441

442-
class Tests(OptionalPackage):
443-
name = "tests"
444-
default_config = False
445-
446-
def get_package_data(self):
447-
return {
448-
'matplotlib': [
449-
*_pkg_data_helper('matplotlib', 'tests/baseline_images'),
450-
*_pkg_data_helper('matplotlib', 'tests/tinypages'),
451-
'tests/cmr10.pfb',
452-
'tests/mpltest.ttf',
453-
],
454-
'mpl_toolkits': [
455-
*_pkg_data_helper('mpl_toolkits', 'tests/baseline_images'),
456-
]
457-
}
458-
459-
460442
def add_numpy_flags(ext):
461443
import numpy as np
462444
ext.include_dirs.append(np.get_include())

0 commit comments

Comments
 (0)
0