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

Update pyproject.toml #7

Merged
merged 4 commits into from
May 31, 2024
Merged

Update pyproject.toml #7

merged 4 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

Enhancements to the publishing process and ignored files for Ultralytics THOP.

πŸ“Š Key Changes

  • Automated Publishing Workflow: Added a GitHub Actions workflow for automatically publishing to PyPI when changes are pushed to the main branch or when manually triggered.
  • Python Environment Setup: Configured Python 3.11 for the action and added dependency caching for efficiency.
  • Version Checking: Implemented checks to automatically compare local version against the PyPI version to ensure only new versions are published.
  • Project Renaming: The package name in pyproject.toml has been updated to ultralytics-thop for clarity and consistency with other Ultralytics projects.
  • Expanded .gitignore: Updated the .gitignore file to cover more environments, preventing unnecessary files/directories from being tracked in Git.

🎯 Purpose & Impact

  • Smoother Releases: The automated publishing process simplifies the release of new versions, ensuring that updates are promptly available to users without manual intervention.
  • Better Environment Management: Through specific Python version use and dependency caching, the workflow promotes consistency and speed in the publishing process.
  • Version Control Integrity: The expanded .gitignore helps maintain the repository's cleanliness, ensuring that only relevant files are tracked.
  • Clearer Naming: The renaming of the package to ultralytics-thop aligns with the Ultralytics branding and makes the package easily identifiable among similar tools.
  • Enhanced User Experience: Users can expect more regular updates and a clearer understanding of what the package offers, improving user satisfaction and trust in Ultralytics projects.

@glenn-jocher glenn-jocher merged commit fc4ef2f into main May 31, 2024
1 check passed
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch May 31, 2024 18:43
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