Open
Conversation
…etadata, and included requirements file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PyPI Release
This PR makes QuickCW publish-ready for PyPI
Changes overview
Updated
setup.pywith metadata, and license consistencyCreated
requirements.txtwith all dependenciesPublishing to PyPI
While I could do the PyPI release myself, it's better if Bence does it so he owns the PyPI release. Therefore, this is a short guide on how to release:
1. Test the Package Build Locally
Before uploading to PyPI, test that the package builds correctly:
This will create distribution files in the
dist/directory and verify they're valid.2. Add Version Constraints to Dependencies (RECOMMENDED)
Currently,
setup.pyandrequirements.txtlist dependencies without version constraints. It's strongly recommended to add minimum version requirements to ensure compatibility. For example:Action needed: Determine the minimum versions of each dependency that QuickCW requires and update both
setup.pyandrequirements.txt.3. Create PyPI Account (if not already done)
4. Create API Token for Upload
pypi-)5. Upload to PyPI
For Test PyPI (recommended first step):
For Production PyPI:
You'll be prompted for:
__token__pypi-)6. Verify Installation
After uploading, verify the package can be installed:
7. Update Documentation (Optional but Recommended)
pip install QuickCW8. Create a GitHub Release
After successful PyPI upload:
Additional Recommendations
Version Management: Consider using semantic versioning and updating the version in
setup.pyfor each release.CI/CD: Consider setting up GitHub Actions to automatically build and upload to PyPI on tagged releases.
Documentation: Ensure the README.md renders correctly on PyPI (it should, as it's already in Markdown format).
Testing: Consider adding automated tests that can be run before releases.
Summary Checklist
python -m build)