The Meya Developer Hub

Welcome to the Meya developer hub. You'll find comprehensive guides and documentation to help you start working with Meya as quickly as possible, as well as support if you get stuck. Let's jump right in!

Add custom Python dependencies

How to install custom Python dependencies

When running meya --build-image our build system will automatically run a file called install.sh which can be used to run scripts including installing custom Python dependencies using pip.

#!/bin/sh
set -e
echo "Installing custom requirements"
apk add --no-cache --virtual .build-deps \
  gcc \
  python3-dev \
&& pip install --disable-pip-version-check --no-cache-dir -r requirements.txt

This script will install any Python dependencies in a file located at your app root ./requirements.txt.

Make sure you run pip install -r requirements.txt locally so that the meya code validation will pass before pushing the code.

pip install -r requirements.txt
ShopifyAPI==8.02
stripe==2.51.0

Updated about a month ago

Add custom Python dependencies


How to install custom Python dependencies

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.