1Development changes 2------------------- 3 4Windows build 5~~~~~~~~~~~~~ 6Previously, when building the ``matplotlib._png`` extension, the build 7script would add "png" and "z" to the extensions ``.libraries`` attribute (if 8pkg-config information is not available, which is in particular the case on 9Windows). 10 11In particular, this implies that the Windows build would look up files named 12``png.lib`` and ``z.lib``; but neither libpng upstream nor zlib upstream 13provides these files by default. (On Linux, this would look up ``libpng.so`` 14and ``libz.so``, which are indeed standard names.) 15 16Instead, on Windows, we now look up ``libpng16.lib`` and ``zlib.lib``, which 17*are* the upstream names for the shared libraries (as of libpng 1.6.x). 18 19For a statically-linked build, the upstream names are ``libpng16_static.lib`` 20and ``zlibstatic.lib``; one still needs to manually rename them if such a build 21is desired. 22 23Packaging DLLs 24~~~~~~~~~~~~~~ 25Previously, it was possible to package Windows DLLs into the Maptlotlib 26wheel (or sdist) by copying them into the source tree and setting the 27``package_data.dlls`` entry in ``setup.cfg``. 28 29DLLs copied in the source tree are now always packaged; the 30``package_data.dlls`` entry has no effect anymore. If you do not want to 31include the DLLs, don't copy them into the source tree. 32