Dependency management

Adding dependencies

Cowait can automatically install Python dependencies as part of the build step. Adding a requirements.txt in your project root folder installs the requirements during cowait build.

  1. Add a requirements.txt to the root of your project
  ├── cowait.yml
  ├── requirements.txt
  1. Populate it
  1. Build
cowait build

Cowait will identify the requirements.txt file and install dependencies in the build step using pip install. During local development, Cowait mounts your directory into the container. However, adding new dependencies requires you to build your image using cowait build.

Found incorrect information, typos or have other suggestions to this documentation page?

Edit on Github