ou_container_builder.core.python

Contents

ou_container_builder.core.python#

Functionality for installing python packages.

The packages are downloaded and built in the build stage and then the wheels are copied over into the deploy stage. The system packages are then installed into a venv at /var/lib/ou/python/system.

Packages are installed from requirements files. If package names are provided directly, then a requirements.txt is generated for those.

ou_container_builder.core.python.generate(state: State, progress: Progress) None#

Generate the python wheel build and install blocks.

ou_container_builder.core.python.init(state: State) None#

Unused.