Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e2e7235

Browse filesBrowse files
committed
DOC: API notes for not installing tests/baseline images by default
Update to include details about how to re-enable.
1 parent e83e108 commit e2e7235
Copy full SHA for e2e7235

File tree

Expand file treeCollapse file tree

3 files changed

+22
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+22
-2
lines changed

‎doc/api/api_changes.rst

Copy file name to clipboardExpand all lines: doc/api/api_changes.rst
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,20 @@ replaced by ``nipy_spectral`` and ``nipy_spectral_r`` since matplotlib
201201
raised a warning. As of matplotlib 2.0.0, using the old names raises a
202202
deprecation warning. In the future, using the old names will raise an error.
203203

204+
Default install does not include test images
205+
--------------------------------------------
206+
207+
To reduce the default size of wheels and source installs, the tests
208+
and baseline images are no longer included by default.
209+
210+
To restore installing the tests and images have a `setup.cfg` with ::
211+
212+
[packages]
213+
tests = True
214+
toolkit_tests = True
215+
216+
in the source directory at build/install time.
217+
204218
Changes in 1.5.3
205219
================
206220

‎doc/devel/contributing.rst

Copy file name to clipboardExpand all lines: doc/devel/contributing.rst
+7-2Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,15 @@ Alternatively, if you do ::
7979
pip install -v ./
8080

8181
all of the files will be copied to the installation directory however,
82-
you will have to rerun this command every time the source is changed.
82+
you will have to rerun this command every time the source is changed. Additionally you will
83+
need to copy :file:`setup.cfg.template` to :file:`setup.cfg` and edit to contain ::
8384

85+
[test]
86+
local_freetype = True
87+
tests = True
8488

85-
You can then run the tests to check your work environment is set up properly::
89+
In either case you can then run the tests to check your work
90+
environment is set up properly::
8691

8792
python tests.py
8893

‎doc/devel/testing.rst

Copy file name to clipboardExpand all lines: doc/devel/testing.rst
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ matplotlib source directory::
4545

4646
[test]
4747
local_freetype = True
48+
tests = True
4849

4950
or by setting the ``MPLLOCALFREETYPE`` environmental variable to any true
5051
value.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.