Day 52 — Bundling DLLs with Windows wheels (the DLL mangling way)

Yesterday, after reading about the DLL Search Order on Windows and DLL Hell, I got concerned about shipping DLLs as package_data, because they might clash with other DLLs with same names that are shipped by other Windows wheels.

This is the gist of the whole issue: If a DLL with …

Read

There are comments.

Day 51 — Bundling DLLs with Windows wheels (the package_data way)

Last week, I was able to build pdftopng on Windows, but the extension worked only when all the DLLs it depended on were kept in the same directory as the PYD (which is basically a DLL).

At the end of that post, I had some questions around bundling DLLs with …

Read

There are comments.

Day 50 — `pdftopng` works!

Today I created a test PR to replace ghostscript with pdftopng, and most tests passed! The ones that failed have coordinates hardcoded in them. I'll just need to add a small tolerance in that float comparison and everything should be good to go! Not quite, I need to build Windows …

Read

There are comments.

Day 49 — JupyterCon!

For the past 4 days, I've been spending some time at JupyterCon! It's been great listening to talks and looking at all the things people are building with Jupyter! All of the chat has been happening on the JupyterCon Mattermost instance. Thank you to the organizers for all their work …

Read

There are comments.

Day 48 — Curlyboi walks into the Cheese Shop

I made Linux and MacOS wheels for curlyboi and uploaded them to PyPI! You can now install curlyboi using:


  $ pip install curlyboi

Since I used pybind11 (which works with C++ code) to wrap curlyboi, I had to rename all the .c files to .cpp.

I ran into an error when …

Read

There are comments.