Skip to content
Snippets Groups Projects
Commit bc63f278 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

__main__.py: Adding private entry point so we can run BuildStream without installing

This is needed to build docs without installing BuildStream.
parent f69a0287
No related branches found
No related tags found
1 merge request!605Build documentation without installing
##################################################################
# Private Entry Point #
##################################################################
#
# This allows running the cli when BuildStream is uninstalled,
# as long as BuildStream repo is in PYTHONPATH, one can run it
# with:
#
# python3 -m buildstream [program args]
#
# This is used when we need to run BuildStream before installing,
# like when we build documentation.
#
if __name__ == '__main__':
# pylint: disable=no-value-for-parameter
from ._frontend.cli import cli
cli()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment