Skip to content

Move code to src/ and project from setup.py to pyproject.toml#38

Open
Obi-Wan wants to merge 1 commit intoahendriksen:masterfrom
Obi-Wan:update_project_structure
Open

Move code to src/ and project from setup.py to pyproject.toml#38
Obi-Wan wants to merge 1 commit intoahendriksen:masterfrom
Obi-Wan:update_project_structure

Conversation

@Obi-Wan
Copy link
Copy Markdown

@Obi-Wan Obi-Wan commented Feb 18, 2026

Motivation

The project description with a setup.py file is deprecated since Python 3.12. Moreover, having the project source code in a non-standard directory makes it unindexed by IDEs like vscode. Moving to pyproject.toml would allow building with recent Python versions, while moving the code under the src directory would add autocompletion to vscode.

What was done

  • Replaced setup.py with a pyproject.toml file
  • Moved code from tomosipo to src/tomosipo

…ct.toml

Signed-off-by: Nicola Vigano <nicola.vigano@cea.fr>
@D1rk123
Copy link
Copy Markdown
Collaborator

D1rk123 commented Mar 10, 2026

Thank you for this pull request! On first glance, it looks good.

My contract at the CWI has ended, so I'm transferring Tomosipo to a new maintainer (Alexander Skorikov). He will decide whether to merge and whether anything else needs to be done. Sorry for not doing it myself, but I want to focus on finishing the last things for my PhD and finding a new job for now.

@Obi-Wan
Copy link
Copy Markdown
Author

Obi-Wan commented Mar 12, 2026

No worries @D1rk123, and thanks for letting me know.

@askorikov, please let me know if you would like me to make more changes or fix any issues.

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.

2 participants