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.

Day 47 — What? Snek is evolving! Congratulations! Your snek evolved into Curlyboi!

Recently I found this snake game by Julia Evans and thought that it might be fun to go through it to learn more about large-ish C projects and ncurses! I also paired with Edith (who is writing her own text editor from scratch!) to walk through the code and understand …

Read

There are comments.

Day 46 — Oh no! A bug :(

Today I read through some open issues on camelot, and found a bug for when you install it from conda-forge. I'd assumed that installing ghostscript from conda-forge installs all of its dependencies. It does, but looks like all the those depedencies are statically linked into one gs executable.

This would've …

Read

There are comments.

Day 45b — How to (almost) build a C extension wheel on Windows (with external dependencies)

I looked into how to build C extension wheels on Windows over the weekend. Since there isn't a fastmac equivalent to get a Windows machine for debugging, I booted up Windows on my laptop after a really long time! I need to find a fastwin or winfast!

Installation

Visual Studio …

Read

There are comments.

Day 45 — I have Linux and macOS wheels!

Today I continued my quest of packaging my Python C extension for multiple OSes. Yesterday while doing a packaging "test run" with the curses "hello world" program, I found that curses is not supported on Windows (it should work with WSL, but not with the "default" Windows terminal I guess …

Read

There are comments.