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

Python packaging + installability #80

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

akx
Copy link

@akx akx commented Dec 24, 2023

This PR reorganizes the repo (just unpeels the interoperability directory) and adds a basic pyproject.toml so the repository can be used as a regular Python package as well, e.g.

pip install git+https://github.com/eclipse/paho.mqtt.testing

and the mqtt (namespace) package becomes available.

It also adds a basic GitHub Actions workflow to build the package.

Note

This will of course necessarily break previous uses that have e.g. added paho.mqtt.testing/interoperability to sys.path by hand, but hopefully those repositories will have pinned their paho.mqtt.testing submodule to a version they know to be working.

This is related to the renovation efforts over at paho.mqtt.python:

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