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

Draft: Build and release python wheels #476

Open
wants to merge 1 commit into
base: v1.5
Choose a base branch
from

Conversation

nrontsis
Copy link

@nrontsis nrontsis commented Oct 4, 2023

This PR demonstrates the use of a github action to automatically build and publish binary wheels for libiec61850 and its python bindings.

As a result of this, on any linux distro with x86_64, i686, or aarch64 architecture, it's now possible to do:

> python3 -m pip install pyiec61850==1.5.2a1

and them immediately use libiec61850 via Python, e.g:

> wget https://raw.githubusercontent.com/nrontsis/libiec61850/v1.5/pyiec61850/test_pyiec61850.py
> python test_pyiec61850.py
[0.0, 0]
[10.0, 0]
client ok

The automatic generation and publishing of cross-platform python wheels is achieved via https://github.com/pypa/cibuildwheel.

Obviously this is currently a draft (e.g. it only supports Linux), but at this point, I am interested to hear if there would be appetite for accepting such a PR?

@sonarcloud
Copy link

sonarcloud bot commented Oct 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant