Skip to content

Conversation

@Its-Just-Nans
Copy link
Contributor

Fixes/Implement: Export the main and create __main__.py

Description:

Export the main and create __main__.py

This file allows to direclty execute the main

python -m pip install mqtt-exporter
python -m mqtt_exporter

@Its-Just-Nans
Copy link
Contributor Author

Fixed the CI

@kpetremann kpetremann merged commit 56f5ebf into kpetremann:master Nov 16, 2025
3 checks passed
@kpetremann
Copy link
Owner

thanks!

@kpetremann
Copy link
Owner

note: you could already run the project via : python -m mqtt_exporter.main

@Its-Just-Nans
Copy link
Contributor Author

Its-Just-Nans commented Nov 16, 2025

Yes, but having __main__.py is a little bit cleaner ^^

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.

2 participants