-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new codebase structure #13022
base: main
Are you sure you want to change the base?
new codebase structure #13022
Conversation
What is the reason for creating a separate src directory? |
hi @SWHL,
Example Project Structure
In this structure:
This setup ensures a clean separation, making the project more manageable. |
At present, I don't think it is suitable for this big structural change. Even though it has so many benefits. Just personal thoughts. |
Hi @SWHL, You're right, this PR is still a work in progress and will continue when conditions are suitable. |
Current codebase layout is neither a flat layout, nor a src layout. As a middle size project, we'll need to modernize the codebase layout to src layout to clearly separate source codes and usage codes, to improve the maintainability. ref: https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/ |
the new codebase structure looks like this: