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.

Day 44 — Packaging Driven Development

Today I started looking into building cross-platform wheels for my Python C extension. I've never built binary extension wheels so I decided to start simple by building wheels for this snake game I want to write in C. Right now it's just a "hello world" ncurses program.

I started looking …

Read

There are comments.