Skip to content
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

Create pyproject.toml #5

Merged
merged 5 commits into from
May 31, 2024
Merged

Create pyproject.toml #5

merged 5 commits into from
May 31, 2024

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 31, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Revamping the build and distribution setup for the thop package. πŸš€

πŸ“Š Key Changes

  • Removed the old build.sh, setup.py, and requirements.txt files, signaling a shift away from the traditional Python package setup. ❌
  • Introduced a new pyproject.toml to handle package build, packaging, and distribution, adhering to modern Python practices. ✨
  • Deleted the outdated TODO.md file, indicating progress or reevaluation of tasks. πŸ—‘οΈ

🎯 Purpose & Impact

  • Simplification and Modernization: Moving to pyproject.toml aims to simplify package management and ensure compatibility with modern Python packaging standards. This leads to easier package distribution and installation for end-users. πŸ†•
  • User Experience: Eliminating the TODO.md file and transitioning to a more standardized build process enhances clarity and maintainability, potentially improving overall user satisfaction. πŸ‘₯
  • Developer Efficiency: The shift encourages using contemporary tools and practices, making the development process more efficient and less error-prone. πŸ› οΈ

This update represents a significant modernization effort for the thop library, aligning it with current best practices in Python software development and package management. It stands to benefit users and developers by facilitating easier package installation, improving codebase maintainability, and ensuring the project's sustainability.

@glenn-jocher glenn-jocher changed the title Delete requirements.txt Create pyproject.toml May 31, 2024
@glenn-jocher glenn-jocher merged commit 0ad2b14 into main May 31, 2024
1 check failed
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch May 31, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant