-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathinstall_local_test.sh
More file actions
executable file
·49 lines (41 loc) · 1.5 KB
/
install_local_test.sh
File metadata and controls
executable file
·49 lines (41 loc) · 1.5 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
# Greeum 로컬 개발 버전 설치 스크립트 - WSL 테스트용
echo "🔧 Greeum 로컬 개발 버전 설치 (WSL 테스트용)"
echo "================================================"
# 현재 디렉토리가 Greeum 프로젝트인지 확인
if [ ! -f "pyproject.toml" ] || [ ! -d "greeum" ]; then
echo "❌ Greeum 프로젝트 디렉토리에서 실행해주세요"
exit 1
fi
echo "📦 현재 개발 버전으로 pip 설치..."
pip install -e . --force-reinstall
echo "🔍 설치 확인..."
python3 -c "
try:
import greeum
print(f'✅ Greeum {greeum.__version__} 설치 성공')
from greeum.mcp.adapters.base_adapter import BaseAdapter
print('✅ BaseAdapter 임포트 성공')
from greeum.mcp.native_mcp_server import NativeMCPServer
print('✅ NativeMCPServer 임포트 성공')
except Exception as e:
print(f'❌ 설치 실패: {e}')
exit(1)
"
if [ $? -eq 0 ]; then
echo ""
echo "🎉 설치 완료! 이제 어디서든 사용 가능:"
echo ""
echo "# 직접 실행"
echo "python -m greeum.mcp.native_mcp_server"
echo ""
echo "# 또는 절대 경로 없이"
echo "python -c \"from greeum.mcp.native_mcp_server import main; main()\""
echo ""
echo "🔧 Claude Desktop 설정에서 다음과 같이 사용 가능:"
echo "\"command\": \"python\","
echo "\"args\": [\"-m\", \"greeum.mcp.native_mcp_server\"]"
else
echo "❌ 설치 실패"
exit 1
fi