File tree Expand file tree Collapse file tree 3 files changed +1
-20
lines changed Expand file tree Collapse file tree 3 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ license_files = LICENSE/*
2121# considered optional. All except 'tests' data (meaning the baseline
2222# image files) are installed by default, but that can be changed here.
2323#tests = False
24- #sample_data = True
2524
2625[gui_support]
2726# Matplotlib supports multiple GUI toolkits, known as backends.
Original file line number Diff line number Diff line change 6161 setupext .Platform (),
6262 setupext .FreeType (),
6363 setupext .Qhull (),
64- setupext .SampleData (),
6564 setupext .Tests (),
6665 setupext .BackendMacOSX (),
6766 ]
Original file line number Diff line number Diff line change @@ -365,9 +365,7 @@ def get_package_data(self):
365365 return {
366366 'matplotlib' : [
367367 'mpl-data/matplotlibrc' ,
368- * _pkg_data_helper ('matplotlib' , 'mpl-data/fonts' ),
369- * _pkg_data_helper ('matplotlib' , 'mpl-data/images' ),
370- * _pkg_data_helper ('matplotlib' , 'mpl-data/stylelib' ),
368+ * _pkg_data_helper ('matplotlib' , 'mpl-data' ),
371369 * _pkg_data_helper ('matplotlib' , 'backends/web_backend' ),
372370 '*.dll' , # Only actually matters on Windows.
373371 ],
@@ -478,21 +476,6 @@ def get_extensions(self):
478476 yield ext
479477
480478
481- class SampleData (OptionalPackage ):
482- """
483- This handles the sample data that ships with matplotlib. It is
484- technically optional, though most often will be desired.
485- """
486- name = "sample_data"
487-
488- def get_package_data (self ):
489- return {
490- 'matplotlib' : [
491- * _pkg_data_helper ('matplotlib' , 'mpl-data/sample_data' ),
492- ],
493- }
494-
495-
496479class Tests (OptionalPackage ):
497480 name = "tests"
498481 default_config = False
You can’t perform that action at this time.
0 commit comments