[Pymoul-svn] SF.net SVN: pymoul: [52] pymoul/trunk
Status: Alpha
Brought to you by:
tiran
|
From: <ti...@us...> - 2007-01-20 15:28:53
|
Revision: 52
http://pymoul.svn.sourceforge.net/pymoul/?rev=52&view=rev
Author: tiran
Date: 2007-01-20 07:28:50 -0800 (Sat, 20 Jan 2007)
Log Message:
-----------
Updated installation information for Windows and Unix
Modified Paths:
--------------
pymoul/trunk/INSTALL.txt
Removed Paths:
-------------
pymoul/trunk/README.qt.txt
Modified: pymoul/trunk/INSTALL.txt
===================================================================
--- pymoul/trunk/INSTALL.txt 2007-01-19 16:32:53 UTC (rev 51)
+++ pymoul/trunk/INSTALL.txt 2007-01-20 15:28:50 UTC (rev 52)
@@ -1,30 +1,171 @@
+============
Requirements
============
- * Python 2.5.x
+ * Python 2.5.x http://www.python.org/
+ * easy_install http://peak.telecommunity.com/DevCenter/EasyInstall
+ * setuptools (via easy install)
+ * PyTz (via $ easy_install pytz)
+ * Qt4 GPL 4.2+ http://www.trolltech.com/developer/downloads/qt/
+ * PyQt4 4.1.1+ http://www.riverbankcomputing.co.uk/pyqt/
- Also read README.qt.txt
-
Windows
-------
* pywin32 http://sourceforge.net/projects/pywin32/
+ * py2exe http://www.py2exe.org/
+ * MinGW32 compiler (bundled with Qt4)
-Development
------------
-
- * py2exe http://www.py2exe.org/ (Windows only)
-
-
Tools
-----
* UPX http://upx.sourceforge.net/#download
- * Nullsoft Installer http://nsis.sourceforge.net/
+====================
+Windows Installation
+====================
+
+Installation
+------------
+
+ * Download Qt/Windows Open Source Edition from
+ http://www.trolltech.com/developer/downloads/qt/index
+
+ * Download PyQt4 GPL from http://www.riverbankcomputing.co.uk/pyqt/
+ If you want to use eric4 as editor install sip and PyQt4 from sources!
+
+ * Install Qt4 + MinGW. I suggest installing both to C:\Program Files instead
+ of C:\ (C:\Programme or whatever your program files folder is)
+
+ * Install PyQt4
+
+http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/
+http://wftp.tu-chemnitz.de/pub/Qt/qt/source/qt-win-opensource-4.2.2-mingw.exe
+
+Adjust your environment for Qt/PyQt
+-----------------------------------
+
+You have to create / adjust some environment variables in order to make
+Qt and PyQt work well. I had to create the variables manually. The article at
+http://vlaurie.com/computers2/Articles/environment.htm#editing explains how
+to set user specific env vars.
+
+PATH = %PATH%;%ProgramFiles%\Python25;%ProgramFiles%\Python25\Scripts;%ProgramFiles%\Qt\4.2.2\bin;%ProgramFile
+s%\MinGW\bin
+PATHEXT = %PATHEXT%;.PY;.PYW
+QMAKESPEC = win32-g++
+QT4DIR = %ProgramFiles%\Qt\4.2.2
+
+You may also set PYTHONPATH to the root of pyMoul/src:
+PYTHONPATH = %PYTHONPATH%;%USERPROFILE%\My Documents\dev\pymoul\src
+
+Source installation of sip, PyQt4 and QScintilla2
+-------------------------------------------------
+
+ * Install Qt4 GPL + MinGW32 as described
+
+ * Adust the environment variables as described
+
+ * Download the following packages and unzip them to C:\tmp\ or another
+ folder without (!) spaces or special character.
+
+ o sip 4.5+ http://www.riverbankcomputing.co.uk/sip/index.php
+ o QScintilla2 snapshot http://www.riverbankcomputing.com/Downloads/Snapshots/QScintilla2/
+ o PyQt4-win-gpl-4.X (not binary) http://www.riverbankcomputing.co.uk/pyqt/download.php
+
+ * Compile and install sip with:
+
+ o c:\tmp\sip...>python configure.py -p win32-g++
+ o c:\tmp\sip...>mingw32-make
+ o c:\tmp\sip...>mingw32-make install
+
+ * Compile and install QScintilla2 for Qt4
+
+ o c:\tmp\QScintilla2...\Qt4>qmake qscintilla.pro
+ o c:\tmp\QScintilla2...\Qt4>mingw32-make
+ o c:\tmp\QScintilla2...\Qt4>mingw32-make install
+
+ * Compile and install PyQt4
+
+ o c:\tmp\PyQt4...>python configure.py
+ o c:\tmp\PyQt4...\Qt4>mingw32-make
+ o c:\tmp\PyQt4...\Qt4>mingw32-make install
+
+ * Install QScintilla2 for Python
+
+ o c:\tmp\QScintilla2...\Python>python configure.py
+ o c:\tmp\QScintilla2...\Python>mingw32-make
+ o c:\tmp\QScintilla2...\Python>mingw32-make install
+
+
py2exe error
-============
+------------
If you are getting an AttributeError on zlib_file.read() replace py2exe's
build_exe.py with misc/build_exe.py. The file is located somewhere in
Python25\Lib\site-packages\py2exe\
+
+==================
+Linux Installation
+==================
+
+For Ubuntu and Debian. SuSE, RedHat and Mac OS X should work similar
+
+NOTE: The latest version of Ubuntu has no support for Qt4 under Python2.5.
+ You have to compile the stuff on your own.
+
+ * Install Python 2.5 with development packages
+
+ o sudo apt-get install python2.5 python2.5-dev
+
+ * Install Qt4 with development packages
+
+ o sudo apt-get install libqt4 libqt4-dev qt4-designer qt4-dev-tools qt4-doc
+
+ * Download and unpack sip, PyQt4 and QScintilla2 snapshot
+
+ o sip 4.5+ http://www.riverbankcomputing.co.uk/sip/index.php
+ o QScintilla2 snapshot http://www.riverbankcomputing.com/Downloads/Snapshots/QScintilla2/
+ o PyQt4-x11-gpl-4.X http://www.riverbankcomputing.co.uk/pyqt/download.php
+
+ * compile and install sip
+
+ o $ cd sip-XXX
+ o $ python2.5 configure.py && make
+ o $ sudo make install
+
+ * The current make install command is buggy. You have to adjust the
+ permissions of all installed files manually. I recommand to run the
+ following command line after each install step. a+rX means all users
+ readable, all users directory executable
+
+ o sudo chmod a+rx /usr/bin/sip
+ o sudo chmod -R a+rX /usr/lib/python2.5/ /usr/include/python2.5 \
+ /usr/include/qt4 /usr/share/qt4/ /usr/share/sip/
+
+ * Install QScintilla for Qt4
+
+ o $ cd QScintilla.../Qt4
+ o $ qmake-qt4
+ o $ make
+ o $ sudo make install
+ o Adjust permissions
+
+ * Install PyQt4
+
+ o $ cd PyQt4-x11-gpl...
+ o $ python2.5 configure.py -q /usr/bin/qmake-qt4
+ o $ make
+ o $ sudo make install
+ o Adjust permissions
+
+ * Install QScintilla2 for Python
+
+ o $ cd QScintilla.../Python
+ o $ python2.5 configure.py
+ o $ make
+ o $ make install
+ o Adjust permissions
+
+
+
Deleted: pymoul/trunk/README.qt.txt
===================================================================
--- pymoul/trunk/README.qt.txt 2007-01-19 16:32:53 UTC (rev 51)
+++ pymoul/trunk/README.qt.txt 2007-01-20 15:28:50 UTC (rev 52)
@@ -1,35 +0,0 @@
-Installation
-------------
-
- * Download Qt/Windows Open Source Edition from
- http://www.trolltech.com/developer/downloads/qt/index
- * Download PyQT4 GPL from http://www.riverbankcomputing.co.uk/pyqt/
- * Install QT4 + MinGW. I suggest installing both to C:\Program Files instead
- of C:\ (C:\Programme or whatever your program files folder is)
- * Install PyQT4
- * Download and install elementtree http://effbot.org/downloads/#elementtree
- or use the "easy_install elementtree" command
-http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/PyQt-gpl-4.1.1-Py2.5-Qt4.2.2.exe
-http://wftp.tu-chemnitz.de/pub/Qt/qt/source/qt-win-opensource-4.2.2-mingw.exe
-
-Adjust your environment for Qt/PyQt
------------------------------------
-
-You have to create / adjust some environment variables in order to make
-Qt and PyQt work well. I had to create the variables manually. The article at
-http://vlaurie.com/computers2/Articles/environment.htm#editing explains how
-to set user specific env vars.
-
-PATH = %PATH%;%ProgramFiles%\Python25;%ProgramFiles%\Python25\Scripts;%ProgramFiles%\Qt\4.2.2\bin;%ProgramFiles%\MinGW\bin
-PATHEXT = %PATHEXT%;.PY;.PYW
-QMAKESPEC = win32-g++
-QTDIR = %ProgramFiles%\Qt\4.2.2
-
-You may also set PYTHONPATH to the root of pyMoul/src:
-PYTHONPATH = %PYTHONPATH%;%USERPROFILE%\My Documents\dev\pymoul\src
-
-Notes (do not install)
-----------------------
-
-http://effbot.org/downloads/#cElementTree
-python setup.py build -c mingw32 install
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|