Skip to content

Conversation

@corranwebster
Copy link

@corranwebster corranwebster commented Oct 31, 2025

This allows the Python code to be installed with pip install or similar tools, along with dependencies (freetype-py and Pillow). Additionally changes the scripts so that they don't need to do hacking of sys.path: the idea being to install the package into a virtual environment and then run the scripts.

Includes a couple of drive-by fixes to imports and one bad variable name that are needed to get the code working to test.

This allows the Python code to be installed with pip install or similar tools,
along with dependencies (freetype-py and Pillow).  It also installs afinate as
a script in the python environment.
@corranwebster
Copy link
Author

corranwebster commented Oct 31, 2025

Also includes some random whitespace removal from end of lines. It may make sense just to run Black on the Python code, but whether that's part of this PR is another question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant