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

Skip to content

Commit 71ba349

Browse files
committed
Merge pull request #3503 from jbmohler/win_fix_simple
BLD : restore non-searching for libpng on windows
2 parents 49d0b00 + cc402cf commit 71ba349

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

INSTALL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,4 +319,4 @@ Framework with Visual Studio). In addition to Visual Studio `CMake
319319

320320
Since there is no canonical Windows package manager the build methods for
321321
freetype, zlib, libpng, tcl, & tk source code are documented as a build script
322-
at `matplotlib-winbuild <https://github.com/jbmohler/matplotlib-winbuild>`.
322+
at `matplotlib-winbuild <https://github.com/jbmohler/matplotlib-winbuild>`_.

setupext.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,6 +1003,9 @@ class Png(SetupPackage):
10031003
name = "png"
10041004

10051005
def check(self):
1006+
if sys.platform == 'win32':
1007+
return "Unknown version"
1008+
10061009
status, output = getstatusoutput("libpng-config --version")
10071010
if status == 0:
10081011
version = output

0 commit comments

Comments
 (0)