-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild_and_install.sh
More file actions
29 lines (22 loc) · 825 Bytes
/
build_and_install.sh
File metadata and controls
29 lines (22 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
# Build and install the MCP AI SOC Sher package
# Ensure we're in the project root directory
cd "$(dirname "$0")" || exit 1
echo "=== Building MCP AI SOC Sher package ==="
# Clean up any previous builds
rm -rf dist/ build/ *.egg-info/
# Install dependencies
pip install --upgrade pip setuptools wheel build
# Create the distributable packages
python -m build
echo -e "\n=== Installing MCP AI SOC Sher package ==="
pip install -e .
echo -e "\n=== Installation complete! ==="
echo "You can now run MCP AI SOC Sher with:"
echo " mcp-ai-soc --type local --stdio --sse"
echo " or"
echo " python -m mcp_ai_soc_sher --type local --stdio --sse"
echo " or"
echo " ./run_mcp_ai_soc.py --type local --stdio --sse"
echo ""
echo "Don't forget to set your OPENAI_API_KEY in .env file or as an environment variable!"