티스토리 툴바

BLOG main image
분류 전체보기 (29)
조금 관심있는 것들 (0)
programming (12)
profile (0)
FromNil의 생각
fromnil's me2DAY
FromNil의 생각
fromnil's me2DAY
FromNil의 생각
fromnil's me2DAY
adipex 180
adipex generic
adipex 180
adipex generic
13,286 Visitors up to today!
Today 25 hit, Yesterday 51 hit
daisy rss
tistory 티스토리 가입하기!
2008/06/23 11:06

1 .일단 이클립스 설치 3.3 이상에서 설치

2. pydev plugin 설치

  • prerequisite : python 설치 , 환경변수에 python path 추가(PYTHONPATH = C:\Python25;C:\Python25\Scripts;C:\Python25\Lib\site-packages;), path = %PYTHONPATH%
  • Help->Software Updates->Find and Install
    Search for new features to install->New Remote Site ->name : pydev,url : http://pydev.sourceforge.net/updates ->finish
  • Python Interpreter setting
     Window->Preferences->Pydev->Interpreter - Python
      New->Set c:\...\python25\python.exe

3 . turbogears 설치

4. turbogears debugging 하기

개인적으로 약 이틀의 삽질을 한 부분이다.
pydev 에서 사용하는 debugging 모듈은 eclipse 의 frame 기반 debugging 모듈이며 turbogears 의 debbugging 은 자체 모듈을 쓰기 때문에 pydev 의 디버깅, 즉 이클립스의 GUI 기반의 debugging 모듈은 제공하지 않는다.
따라서 이를 제공하기 위해서는 turbogears 의 디버깅 모듈을 disable 시켜서 pydev 디버깅모듈을 쓰도록 설정하여야 한다. 이를 위해서 turbogears 설치시 설치된 C:\Python25\Lib\site-package\DecoratorTools-1.7-py2.5.egg 를 압축을 풀어서 DecoratorTools-1.7\peak\util\decorators.py 의 소스를 수정하여야 한다.
소스 수정 방법은 http://pydev.blogspot.com/2007/06/why-cant-pydev-debugger-work-with.html 를 참조하여 세번째 방법으로 적용한다. 소스 적용 후 egg 로 압축하여 기존의 화일을 새로 압축된 DecoratorTools-1.7-py2.5.egg 화일로 대체한다.

대체 후 이클립스 상에서 python.exe 패스를 재설정해줘야 한다. pydev 개발자 말로는 path 를 caching 시켜서 그렇다고 한다.
window - > preferences -> pydev -> interpreter-Python ->remove ->new
나의 system pythonpath 는 다음과 같다.

사용자 삽입 이미지


참고 자료
http://groups.google.co.kr/group/turbogears/msg/2f75f4a6e94ef413

Trackback Address :: http://muphy.tistory.com/trackback/28 관련글 쓰기
Tracked from fromnil's me2DAY | 2008/11/30 19:52 | DEL
pydev plugin
Tracked from fromnil's me2DAY | 2008/11/30 19:52 | DEL
pydev plugin 설치 관련 글
Tracked from fromnil's me2DAY | 2008/11/30 19:52 | DEL
pydev plugin 설치 관련
Name
Password
Homepage
Secret
prev"" #1 ... #3 #4 #5 #6 #7 #8 #9 #10 #11 ... #29 next