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

Skip to content

Commit 2605180

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

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

setup.cfg.template

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

12+
13+
[packages]
14+
# There are a number of data subpackages from Matplotlib that are
15+
# considered optional. Sample data are installed by default, but that can be
16+
# changed here.
17+
#sample_data = True
18+
19+
1220
[gui_support]
1321
# Matplotlib supports multiple GUI toolkits, known as backends.
1422
# 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