File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,6 +97,14 @@ install:
9797test_script :
9898 # Now build the thing..
9999 - ' %CMD_IN_ENV% python setup.py develop'
100+ # these should show no z, png, or freetype dll...
101+ - set "DUMPBIN=%VS140COMNTOOLS%\..\..\VC\bin\dumpbin.exe"
102+ # - cmd: '"%DUMPBIN%" /DEPENDENTS lib\matplotlib\_png*.pyd'
103+ # - cmd: '"%DUMPBIN%" /DEPENDENTS lib\matplotlib\ft2font*.pyd'
104+ - cmd : ' "%DUMPBIN%" /DEPENDENTS lib\matplotlib\ft2font*.pyd | findstr freetype.*.dll && exit /b 1 || exit /b 0'
105+ - cmd : ' "%DUMPBIN%" /DEPENDENTS lib\\matplotlib\\_png*.pyd | findstr z.*.dll && exit /b 1 || exit /b 0'
106+ - cmd : ' "%DUMPBIN%" /DEPENDENTS lib\\matplotlib\\_png*.pyd | findstr png.*.dll && exit /b 1 || exit /b 0'
107+
100108 # Test import of tkagg backend
101109 - python -c "import matplotlib as m; m.use('tkagg'); import matplotlib.pyplot as plt; print(plt.get_backend())"
102110 # tests
You can’t perform that action at this time.
0 commit comments