-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtest_local_install.sh
More file actions
executable file
·36 lines (27 loc) · 894 Bytes
/
test_local_install.sh
File metadata and controls
executable file
·36 lines (27 loc) · 894 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
30
31
32
33
34
35
36
#!/bin/bash
# MuJoCo-MCP Local Installation Test Script
echo "=== MuJoCo-MCP Local Installation Test ==="
# 1. Create test virtual environment
echo "1. Creating test virtual environment..."
python -m venv test_env
source test_env/bin/activate
# 2. Build package
echo "2. Building package..."
pip install build
python -m build
# 3. Local installation test
echo "3. Installing from local wheel..."
pip install dist/mujoco_mcp-*.whl
# 4. Verify installation
echo "4. Verifying installation..."
python -c "import mujoco_mcp; print(f'Version: {mujoco_mcp.__version__}')"
# 5. Test CLI entry points
echo "5. Testing CLI entry points..."
python -m mujoco_mcp --version
# 6. Test MCP server startup
echo "6. Testing MCP server startup..."
timeout 5 python -m mujoco_mcp || echo "Server started successfully"
# 7. Cleanup
deactivate
rm -rf test_env
echo "✅ Local installation test completed!"