Skip to main content
Glama
IBM
by IBM
generate_requirements.sh1.03 kB
#!/bin/bash ############################################################################ # Generate requirements.txt from pyproject.toml # Usage: # ./scripts/generate_requirements.sh: Generate requirements.txt # ./scripts/generate_requirements.sh upgrade: Upgrade requirements.txt ############################################################################ CURR_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(dirname $CURR_DIR)" source ${CURR_DIR}/_utils.sh print_heading "Generating requirements.txt..." if [[ "$#" -eq 1 ]] && [[ "$1" = "upgrade" ]]; then print_heading "Generating requirements.txt with upgrade" UV_CUSTOM_COMPILE_COMMAND="./scripts/generate_requirements.sh upgrade" \ uv pip compile ${REPO_ROOT}/pyproject.toml --no-cache --upgrade -o ${REPO_ROOT}/requirements.txt else print_heading "Generating requirements.txt" UV_CUSTOM_COMPILE_COMMAND="./scripts/generate_requirements.sh" \ uv pip compile ${REPO_ROOT}/pyproject.toml --no-cache -o ${REPO_ROOT}/requirements.txt fi

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IBM/ibmi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server