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

Skip to content

Commit 01f8c87

Browse files
committed
Dynamically generate pyplot functions.
1 parent 0084e4a commit 01f8c87

File tree

7 files changed

+132
-2138
lines changed

7 files changed

+132
-2138
lines changed

.appveyor.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ install:
9090
pip setuptools numpy mock "pandas<0.21.0" sphinx tornado
9191
- activate test-environment
9292
- echo %PYTHON_VERSION% %TARGET_ARCH%
93-
- if %PYTHON_VERSION% == 2.7 conda install -q backports.functools_lru_cache
9493
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
9594
- pip install -q pytest "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-xdist
9695

@@ -118,7 +117,7 @@ install:
118117

119118
test_script:
120119
# Now build the thing..
121-
- '%CMD_IN_ENV% pip install --no-deps -ve .'
120+
- '%CMD_IN_ENV% pip install -ve .'
122121
# these should show no z, png, or freetype dll...
123122
- set "DUMPBIN=%VS140COMNTOOLS%\..\..\VC\bin\dumpbin.exe"
124123
- '"%DUMPBIN%" /DEPENDENTS lib\matplotlib\ft2font*.pyd | findstr freetype.*.dll && exit /b 1 || exit /b 0'

INSTALL.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ Matplotlib requires a large number of dependencies:
185185
* `six <https://pypi.python.org/pypi/six>`_
186186
* `backports.functools_lru_cache <https://pypi.python.org/pypi/backports.functools_lru_cache>`_
187187
(for Python 2.7 only)
188+
* `funcsigs <https://pypi.python.org/pypi/funcsigs>`_ (for Python 2.7 only)
188189
* `subprocess32 <https://pypi.python.org/pypi/subprocess32/>`_ (for Python
189190
2.7 only, on Linux and macOS only)
190191

@@ -330,7 +331,7 @@ without fiddling with environment variables::
330331
# this package is only available in the conda-forge channel
331332
conda install -c conda-forge msinttypes
332333
# for Python 2.7
333-
conda install -c conda-forge backports.functools_lru_cache
334+
conda install -c conda-forge backports.functools_lru_cache funcsigs
334335

335336
# copy the libs which have "wrong" names
336337
set LIBRARY_LIB=%CONDA_DEFAULT_ENV%\Library\lib

build_alllocal.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:: # this package is only available in the conda-forge channel
88
:: conda install -c conda-forge msinttypes
99
:: if you build on py2.7:
10-
:: conda install -c conda-forge backports.functools_lru_cache
10+
:: conda install -c conda-forge backports.functools_lru_cache funcsigs
1111

1212
set TARGET=bdist_wheel
1313
IF [%1]==[] (

ci/conda_recipe/meta.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ requirements:
4040
- pyqt # [not osx]
4141
- tk 8.5* # [linux]
4242
- backports.functools_lru_cache # [py2k]
43+
- funcsigs # [py2k]
4344

4445
run:
4546
- python
@@ -55,6 +56,7 @@ requirements:
5556
- pyqt # [not osx]
5657
- tk 8.5* # [linux and win]
5758
- backports.functools_lru_cache # [py2k]
59+
- funcsigs # [py2k]
5860

5961
test:
6062
imports:

0 commit comments

Comments
 (0)