mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #81] Add pyproject.toml and reorganize sources #125
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/f1-race-replay#125
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/81
Author: @frodon1
Created: 12/18/2025
Status: 🔄 Open
Base:
main← Head:improve_packaging📝 Commits (1)
7f153feAdd pyproject.toml and reorganize sources📊 Changes
35 files changed (+4983 additions, -1070 deletions)
View changed files
📝
.gitignore(+2 -0)➕
.python-version(+1 -0)📝
README.md(+76 -25)📝
main.py(+4 -112)➕
pyproject.toml(+27 -0)➕
src/f1_race_replay/__init__.py(+1 -0)📝
src/f1_race_replay/arcade_replay.py(+16 -5)📝
src/f1_race_replay/f1_data.py(+229 -152)📝
src/f1_race_replay/images/controls/arrow-down.png(+0 -0)📝
src/f1_race_replay/images/controls/arrow-left.png(+0 -0)📝
src/f1_race_replay/images/controls/arrow-right.png(+0 -0)📝
src/f1_race_replay/images/controls/arrow-up.png(+0 -0)📝
src/f1_race_replay/images/controls/pause.png(+0 -0)📝
src/f1_race_replay/images/controls/play.png(+0 -0)📝
src/f1_race_replay/images/controls/rewind.png(+0 -0)📝
src/f1_race_replay/images/controls/speed+.png(+0 -0)📝
src/f1_race_replay/images/controls/speed-.png(+0 -0)📝
src/f1_race_replay/images/tyres/0.0.png(+0 -0)📝
src/f1_race_replay/images/tyres/1.0.png(+0 -0)📝
src/f1_race_replay/images/tyres/2.0.png(+0 -0)...and 15 more files
📄 Description
Hello,
This PR is purely about packaging.
The use of current method to run the code still works fine
All sources are moved in a subdirectory
src/f1_race_replayto reflect common Python source organisation.A
pyproject.tomlis added to add some packaging information. Specifically it adds an entry-point namedf1-race-replaythat can be executed when the package is installed.The README.md file was updated with commands example when using
uv.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.