Update readme's build instructions
We should include instructions on pulling uv and doing initial setup.
For image workflows (adding a new staff member), we might need to update Pillow to support Python 3.13+.
I've opened an issue to track that for the future: https://github.com/thunderbird/thunderbird-website/issues/865
Thanks!
We should include instructions on making a virtual environment with at least python 3.12.
I want to transition this whole repository to using uv/ruff so you don't need to worry about manual venvs. I may just do that at some point soon.
Sounds good, I'll edit the ticket for that.
Once you get to rewriting the readme instructions, I have a few hints from watching folks trying to get set up:
- "Dependencies: On Ubuntu, you would need to use apt-get instead of yum, …" and then does
pip install …andyum install npm— which makes the assumption Python is installed, pip available, and singles out Ubuntu and then installs npm manually — I'd say this could be more generalized to say the project needs Python+pip and NodeJS+npm installed (mention e.g. brew or "n" for tools, but generally assume folks can get their systems ready for that themselves?) on any platform, and only show the commands needed to install the actual deps, leaving out system-level packaging that can vary vastly. - Make a note what Python version is supported (ballpark; IIUC anything from 2.7 in prod to latest 3.13 in dev mostly works give or take a rough edge here and there?) and which Node version should be installed (generally, ~any? nonEOL or LTS works best?)
- That besides L10n there are also other dependencies to install when working with images.
Yeah there's a few things to improve here, thanks for the hints! Once we move to uv it will take a lot of the python/pip requirements away, although add uv as a requirement 😅