-
Notifications
You must be signed in to change notification settings - Fork 1
This is mostly to support GitHub workflows and automation of release to PyPi #1
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
Open
sei-vsarvepalli
wants to merge
40
commits into
cmu-sei:main
Choose a base branch
from
CERTCC:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+460
−80
Conversation
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.
This pull request introduces several improvements and updates to packaging, licensing, and build processes for the CERT UEFI Support Library. The most significant changes are the addition of a PyPI publishing workflow, a complete license update, enhanced build configuration and metadata, and improvements to the build system for better developer experience and compatibility. Currently release to PyPI happens from https://github.com/CERTCC/cert-uefi-parser but this will force use to keep things in sync between various repositories.
Packaging and Distribution Improvements:
.github/workflows/pyblish.yml) for automated building on Linux, macOS, and Windows, and publishing to PyPI using trusted publishing. This includes platform-specific build steps and artifact handling.pyproject.tomlto modern standards: renamed package tocert-uefi-support, added dynamic versioning viasetuptools_scm, expanded metadata (authors, keywords, classifiers, URLs), and improved packaging configuration for non-Python files.README.mdto clarify package purpose, installation options, and dependency relationship withcert-uefi-parser.Licensing and Compliance:
LICENSE.mdwith a comprehensive license covering redistribution, warranty disclaimers, government contract notice, and explicit third-party software acknowledgments and license texts.Build System and Developer Experience:
setup.py:FriendlyBuildExtcommand to check for a working C compiler and provide platform-specific installation guidance, improving error messaging for developers.use_scm_version=True) and removed hardcoded version numbers, aligning with modern packaging practices.Source Organization:
These changes collectively modernize the project’s packaging, licensing, and build infrastructure, making it easier to distribute, install, and maintain.
References:
[1] [2] [3] [4] [5] [6]