[PR #97] [MERGED] Migrate to src Layout and use pyproject.toml #95

Closed
opened 2026-03-02 16:48:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/initialcommit-com/git-sim/pull/97
Author: @paketb0te
Created: 7/14/2023
Status: Merged
Merged: 7/15/2023
Merged by: @initialcommit-io

Base: devHead: src-layout


📝 Commits (4)

  • 6a4d9c5 move files into src dir
  • f7cbec9 use pyproject instead of setup.py
  • 7956021 update CONTRIBUTING.md
  • 6c35e3a add pillow as an explicit dependency for testing

📊 Changes

33 files changed (+65 additions, -45 deletions)

View changed files

📝 CONTRIBUTING.md (+11 -1)
pyproject.toml (+54 -0)
setup.py (+0 -44)
📝 src/git_sim/__init__.py (+0 -0)
📝 src/git_sim/__main__.py (+0 -0)
📝 src/git_sim/add.py (+0 -0)
📝 src/git_sim/animations.py (+0 -0)
📝 src/git_sim/branch.py (+0 -0)
📝 src/git_sim/checkout.py (+0 -0)
📝 src/git_sim/cherrypick.py (+0 -0)
📝 src/git_sim/clean.py (+0 -0)
📝 src/git_sim/clone.py (+0 -0)
📝 src/git_sim/commands.py (+0 -0)
📝 src/git_sim/commit.py (+0 -0)
📝 src/git_sim/enums.py (+0 -0)
📝 src/git_sim/fetch.py (+0 -0)
📝 src/git_sim/git_sim_base_command.py (+0 -0)
📝 src/git_sim/log.py (+0 -0)
📝 src/git_sim/logo.png (+0 -0)
📝 src/git_sim/merge.py (+0 -0)

...and 13 more files

📄 Description

This implements #85.

Unfortunately the tests did not pass on my machine even before migrating, but at least they fail with the same errors (same amount of pixel diff), so I think / hope that I broke nothing in the process...

I added some optional dependencies (see [project.optional-dependencies] in pyproject.toml) which are only required for development, and can be installed with pip install -e .[dev].

(Updated CONTRIBUTING.md accordingly)

Let me know what you think @initialcommit-io 😃


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/initialcommit-com/git-sim/pull/97 **Author:** [@paketb0te](https://github.com/paketb0te) **Created:** 7/14/2023 **Status:** ✅ Merged **Merged:** 7/15/2023 **Merged by:** [@initialcommit-io](https://github.com/initialcommit-io) **Base:** `dev` ← **Head:** `src-layout` --- ### 📝 Commits (4) - [`6a4d9c5`](https://github.com/initialcommit-com/git-sim/commit/6a4d9c5301f849fefef01fcb1a8c0ddb3bc6e953) move files into src dir - [`f7cbec9`](https://github.com/initialcommit-com/git-sim/commit/f7cbec94032c56d2bf80c6206a85befaa151b21f) use pyproject instead of setup.py - [`7956021`](https://github.com/initialcommit-com/git-sim/commit/795602165da06b45c8330f565c2590b772efd07b) update CONTRIBUTING.md - [`6c35e3a`](https://github.com/initialcommit-com/git-sim/commit/6c35e3aa3a2d1cbe279f6ad97ab15d16d8a19c8b) add pillow as an explicit dependency for testing ### 📊 Changes **33 files changed** (+65 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTING.md` (+11 -1) ➕ `pyproject.toml` (+54 -0) ➖ `setup.py` (+0 -44) 📝 `src/git_sim/__init__.py` (+0 -0) 📝 `src/git_sim/__main__.py` (+0 -0) 📝 `src/git_sim/add.py` (+0 -0) 📝 `src/git_sim/animations.py` (+0 -0) 📝 `src/git_sim/branch.py` (+0 -0) 📝 `src/git_sim/checkout.py` (+0 -0) 📝 `src/git_sim/cherrypick.py` (+0 -0) 📝 `src/git_sim/clean.py` (+0 -0) 📝 `src/git_sim/clone.py` (+0 -0) 📝 `src/git_sim/commands.py` (+0 -0) 📝 `src/git_sim/commit.py` (+0 -0) 📝 `src/git_sim/enums.py` (+0 -0) 📝 `src/git_sim/fetch.py` (+0 -0) 📝 `src/git_sim/git_sim_base_command.py` (+0 -0) 📝 `src/git_sim/log.py` (+0 -0) 📝 `src/git_sim/logo.png` (+0 -0) 📝 `src/git_sim/merge.py` (+0 -0) _...and 13 more files_ </details> ### 📄 Description This implements #85. Unfortunately the tests did not pass on my machine even before migrating, but at least they fail with the same errors (same amount of pixel diff), so I think / hope that I broke nothing in the process... I added some optional dependencies (see `[project.optional-dependencies]` in pyproject.toml) which are only required for development, and can be installed with `pip install -e .[dev]`. (Updated CONTRIBUTING.md accordingly) Let me know what you think @initialcommit-io :smiley: --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 16:48:10 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-sim#95
No description provided.