iT邦幫忙

18

Python -- The eric Python IDE

ataru 2008-07-21 14:43:3516188 瀏覽

最近在看Qt4, 結果就看到eric這個為了Python與Ruby開發的IDE工具。它本身是用Python+Qt寫出來的,因此這正可以當作希望學習Python與 Qt者的一個好範例,當這個語言可以自己寫出來一個IDE來開發自己的時候,其實我覺得這就代表它的功能是很普遍性的!
當你希望使用eric的時候,除了下載eric外,你還需要

  1. Python -- 你要學習它,怎會不下載它呢?!我用的是2.5.2版
  2. Qt4 -- 你可以下載4.4.0 open source版,順帶你就需要下載MinGW(我用5.1.4版,gcc是3.4,記得一定要下載make)
  3. QScintilla2, sip and PyQt4 -- 這三個都是使用eric必要的套件, 都可以在Riverbanking Computing的網站找到並下載.這三個套件的使用版本是2.2, 4.7.6, 4.4.2
    [-]Summary Only....
    準備事項
    下載之後,因為都需要解開到一個目錄裡面,你一定要清楚你所安裝的目錄在哪裡,以下指令都是鄉對於套件的目錄所給的路徑.

步驟:

  1. Install Python,Qt4--這兩個都是執行檔,輕鬆簡單,甚至...就是一步步地按下去就好.但是Qt4要記得在安裝好了之後run一下build debug libraries.

  2. Build and install sip

python configure.py -p win32-g++
make
make install

  1. Build and install QScintilla2

cd Qt4
qmake qscintilla.pro
make
make install

  1. Build and install PyQt4

python configure.py
make
make install

  1. Build and install QScintilla2 Python bindings

cd Python
python configure.py
make
make install
copy Qscintilla2\Qt4\Release\qscintilla2.dll c:\windows\system32

  1. Install eric4
    python install.py

相關網址
http://www.python.org/
http://trolltech.com/products/qt/
http://www.riverbankcomputing.co.uk/news
http://www.die-offenbachs.de/eric/index.html


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中
0
jjw
iT邦研究生 1 級 ‧ 2008-07-21 22:58:07

謝謝分享

0
davistai
iT邦大師 1 級 ‧ 2008-07-22 11:46:37

謝謝..記起來~~

0
kuochiahao
iT邦研究生 1 級 ‧ 2008-07-22 15:51:30

謝謝分享

0
bigmotor
iT邦研究生 5 級 ‧ 2008-07-23 09:21:38

謝謝分享

0

謝謝分享咯!

我要留言

立即登入留言