Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 691 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 691 Bytes

A sample monorepo of several Python components.

This monorepo shows how to build several Python components (libraries, commands, container images ...) using Bazel

This is the file structure:

bazel-python-monorepo        # The root of the monorepo
|
+- WORKSPACE
|
+- lib
    |
    +- foolib                # A Python library, called `foolib`
        |
        +- BUILD
        |
        +- requirements.txt  # Python dependencies from PyPI
        |
        +- __init__.py       # Library implementation.
        |
        +- hello-foo.py      # A command-line tool, which uses `foolib`