Improving my dotfiles manager with pipx and inline dependency metadata

I have a (somewhat unnecessarily) custom setup for managing my dotfiles and I made a nice improvement to it today. How it works The dotfiles are managed by a Python script. In broad strokes, the script will: read a TOML file locate the configured paths create symlinks, based on custom marker text in the filenames, for files in subdirectories under the configured paths1 If there’s a conflict (i.e. two configured paths provide the same symlink target location), the TOML file contains the resolution for it (i.e. specifies one of the paths as the “winner” for that file). If a resolution doesn’t exist, the script errors out. ...

Last updated May 31, 2024 · 6 minutes

How the Python Packaging community is organised

The way the Python packaging community is organised is something that I’ve explained in multiple places, in multiple contexts. I figure that it’ll be useful to actually write it down in a single place, so that I don’t have to repeat myself. The Python Packaging Authority The Python Packaging Authority (PyPA) is a fairly loose group of projects that happen to be related to Python packaging. While the PyPA has a formal governance model, there’s no “oversight” or “enforcement” on projects that are part of the PyPA – they are only required to adopt the PSF Code of Conduct and to be accepted by the existing members. ...

Last updated January 14, 2023 · 4 minutes