README-MacOSX.txt

Sun, 23 Oct 2011 14:15:17 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 23 Oct 2011 14:15:17 +0200
changeset 1387
1734bc5f4f82
child 1438
a7d1841ca909
child 1479
8a7d452573c7
permissions
-rwxr-xr-x

Mac related changes.

1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 Readme for Mac usage
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 ====================
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 This Readme file describes how to prepare a Mac computer for eric. The
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5 recommended way to do this is to install the software packages from the
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 distributors web pages. Because some software is only available as source
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7 and compilation is a bit tricky because of the dependencies, these packages
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8 should be installed via a packaging system. The recommended one is MacPorts
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 because of it's completeness. This is the way described below.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11 1. Install Xcode 3 (for Snow Leopard)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 ------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 The installation of various packages require the Xcode package that is
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 available from Apple for free. Xcode 3 is contained on the Install DVD
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 that came with your Mac. Just insert it and select the optional packages.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16 In this window select Xcode. Make sure, you have the following selected:
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18 - Essentials
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 - System Tools
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 - UNIX Development
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 - Documentation
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 After the installation has finished perform an update of your system
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 software via the Apple menu.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26 Alternatively you may install the Xcode 3 package from the Apple developer
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 web site. Just open your browser and enter the URL "http://developer.apple.com/xcode/".
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
28 Follow the instructions on this page. This page requires to log in first. If
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
29 you don't have an AppleID yet, follow the link next to the "Log in" button.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
30 After you have been logged in follow the download link for Xcode 3. After you
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
31 downloaded the package install it as described above.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
32
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33 1. Install Xcode 4 (for Lion)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
34 ------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
35 Open the Mac App Store and enter "xcode" into the search entry at the top
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 right of the window. From the list of results select the Xcode entry. Xcode 4
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 is provided free of charge. On the Xcode page select the button to get the
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 package. Follow the usual procedure to start the download. Once the download
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
39 has finished open the applications folder and select the "Install Xcode" entry.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40 In contrast to the Xcode 3 procedure described above, the installer does not
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41 ask for a selection of sub-packages.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
43 2. Install Python 3.2
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 ---------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45 Although Mac OS X comes with a python installation it is recommended to
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46 install the python package provided by the Python community. Download it
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
47 from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
49 http://www.python.org/download/
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
50
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
51 After the download finished open the downloaded package and install it.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53 Note: The Python documentation can be found in these locations
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55 /Library/Frameworks/Python.framework/Versions/3.2/Resources/English.lproj/Documentation/index.html
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 /Applications/Python 3.2/Python Documentation.html
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
57
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 3. Install Qt4
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59 --------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 Download the Qt4 package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62 http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
63
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
64 After the download finished open the downloaded package and install it. The
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65 tools (e.g. Designer, Linguist) can be found in the location
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
67 /Developer/Tools/Qt
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69 The documentation can be found in these locations
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
70
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
71 /Developer/Documentation/Qt/html (HTML format)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72 /Developer/Documentation/Qt/qch (QtHelp format)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
73
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
74 The translation files can be found in this location
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
75
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76 /Developer/Applications/Qt/translations
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
77
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
78 4. Install QScintilla2
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
79 ----------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
80 Download the QScintilla2 source code package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82 http://www.riverbankcomputing.com/software/qscintilla/download
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84 After the download has finished open a Finder window and extract the downloaded
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
85 archive in the Downloads folder (or any other folder of your choice). Change to
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
86 the Qt4 directory within the extracted folder and enter these commands in a
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
88
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
89 qmake qscintilla.pro -spec macx-g++
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
90 make
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
91 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
92
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
93 5. Install sip
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 --------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
95 Download the sip source code package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
96
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
97 http://www.riverbankcomputing.com/software/sip/download
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
98
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
99 After the download has finished open a Finder window and extract the downloaded
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
100 archive in the Downloads folder (or any other folder of your choice). Change to
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
101 the extracted folder and enter these commands in a terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
102
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
103 python3 configure.py
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
104 make
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
105 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
106
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
107 6. Install PyQt4
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
108 ----------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
109 Download the PyQt4 source code package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
110
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 http://www.riverbankcomputing.com/software/pyqt/download
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
112
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
113 After the download has finished open a Finder window and extract the downloaded
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
114 archive in the Downloads folder (or any other folder of your choice). Change to
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 the extracted folder and enter these commands in a terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
116
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
117 python3 configure.py -c -j 8 (number of cores including hyper threaded ones)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
118 make -j
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
119 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
120
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
121 7. Install QScintilla2 Python bindings
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
122 --------------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
123 Change back to the extracted QScintilla2 directory and in there change to the
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
124 Python subdirectory. Enter these commands in a terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
125
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
126 python3 configure.py -c -j 8 (number of cores including hyper threaded ones)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
127 make -j
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
128 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
129
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
130 8. Install MacPorts
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
131 -------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
132 MacPorts is a packaging system for the Mac. I recommend to install it to use
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
133 some applications and libraries, that are a bit tricky to compile from source
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
134 or for which the supplier doesn't offer ready built Mac OS X packages. In order
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
135 to install MacPorts get the proper disk image (for Lion or Snow Leopard) from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
136
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
137 http://www.macports.org/install.php
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
138
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
139 and install it with the usual procedure. You may read about it's usage via
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
140
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
141 http://guide.macports.org/#using.port
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
142
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
143 9. Install aspell and dictionaries
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
144 -----------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
145 eric4 includes the capability to perform spell checking of certain parts of
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
146 the sources. This is done via enchant which works with various spell checking
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
147 libraries as it's backend. It depends upon aspell and hunspell. In order to
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
148 install aspell enter this command in a terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
149
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
150 sudo port install aspell
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
151
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
152 This installs aspell and a bunch of dependancies. Once aspell has been installed
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
153 install the dictionaries of your desire. To get a list of available dictionaries
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
154 enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
155
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
156 port search aspell-dict
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
157
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
158 Then install them with a command like this
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
159
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
160 sudo port install aspell-dict-de aspell-dict-en
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
161
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
162 10. Install hunspell and dictionaries
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
163 -------------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
164 penchant depends on hunspell as well. Enter these commands to install it
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
166 sudo port install hunspell
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
167
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168 This installs hunspell and a bunch of dependancies. Once hunspell has been
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
169 installed, install the dictionaries of your desire. To get a list of hunspell
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
170 dictionaries enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
171
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
172 port search hunspell-dict
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
173
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
174 Then install them with a command like this
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
175
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
176
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177 11. Install enchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
178 -------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
179 In order to install enchant and penchant via MacPorts enter these commands
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
180
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
181 sudo port install enchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
182
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
183 12. Install pyenchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
184 ---------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
185 Get the penchant sources from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
186
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
187 http://pypi.python.org/pypi/pyenchant/1.6.5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
189 Extract the downloaded sources, change to the sources directory and enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
190 this command
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
191
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
192 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
193
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
194 If you get a TypeError during the above operations open the file listed
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
195 last (easy_install.py, line 1447) add a comment sign in front of it and
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
196 enter this line right after it
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
197
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
198 first_line_re = re.compile('^#!.*python[0-9.]*([ \t].*)?$')
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
199
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
200 In order to test, if everything worked ok open a Python shell and enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
201 these commands
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
202
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
203 >>> import enchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
204 >>> enchant.list_dicts()
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
205
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
206 If you get an error (ImportError for the first command or no dictionaries
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
207 are show for the second command) please recheck the installation checks.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
208
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
209 13. Install pysvn
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
210 -----------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
211 Mac OS X already provides subversion. However, best performance for eric5 is
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
212 gained with the pysvn interface to subversion. Therefore it is recommended to
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
213 install pysvn. That should be done from sources. Please note, that pysvn needs
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
214 an updated pycxx if you installed Python 3.2.x. Get pysvn via
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
215
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
216 http://pysvn.tigris.org/project_downloads.html
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
217
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
218 Extract the downloaded sources, change to the sources directory and enter this
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
219 command
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
220
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
221 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
222
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
223 In order to test, if everything worked ok open a Python shell and enter these
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
224 commands
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
225
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
226 >>> import pysvn
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
227 >>> pysvn.version
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
228
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
229 This should print the pysvn version as a tuple like '(1, 7, 5, 0)'. If you get
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
230 an error please check your installation.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
231
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
232 14. Install Mercurial
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
233 ---------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
234 Get Mercurial from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
235
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
236 http://mercurial.selenic.com/
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
237
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
238 Extract the downloaded package and install it.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
239
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
240 15. Install eric5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
241 -----------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
242 Get the latest eric5 distribution package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
243
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
244 http://eric-ide.python-projects.org/eric-download.html
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
245
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
246 Just follow the link on this page to the latest download.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
247
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
248 Extract the downloaded package and language packs into a directory and install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
249 it with this command
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
250
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
251 sudo python3 install.py
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
252
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
253 This step concludes the installation procedure. You are ready for the first
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
254 start of eric5.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
255
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
256 The eric5 installer created an application bundle in the location
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
257
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
258 /Developer/Applications/Eric5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
259
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
260 You may drag it to the dock to have it ready.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
261
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
262 16. First start of eric5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
263 ------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
264 When eric5 is started for the first time it will recognize that it hasn't been
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
265 configured yet. Therefore it will start the configuration dialog with the
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
266 default configuration. At this point you could simply close the dialog by
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
267 pressing the OK button. However, it is strongly recommended that you go through
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
268 the configuration pages to get a feeling for the configuration possibilities.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
269
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
270 It is recommended to configure at least the path to the Qt tools on the Qt page
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
271 and the paths to the various help pages on the Help Documentation page. The
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
272 values to be entered are given above in the Python and Qt installation sections.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
273
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
274 17. Install optional packages for eric5 (for plug-ins)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
275 ------------------------------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
276 eric5 provides an extension mechanism via plug-ins. Some of them require the
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
277 installation of additional python packages. The plug-ins themselves are
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
278 available via the Plugin Repository from within eric5.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
279
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
280 17.1 Installation of pylint
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
281 ---------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
282 pylint is a tool to check Python sources for issues. In order to get it
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
283 installed you have to download these packages with the latest version each.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
284
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
285 http://download.logilab.org/pub/pylint
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
286 http://download.logilab.org/pub/astng
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
287 http://download.logilab.org/pub/common
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
288
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
289 Once the downloads have been finished, extract all three packages and install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
290 them with these commands.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
291
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
292 In the logilab-common-<version> directory do
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
293
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
294 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
295
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
296 In the logilab-astng-<version> directory do
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
297
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
298 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
299
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
300 In the pylint-<version> directory do
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
301
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
302 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
303
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
304 Note: You may receive some errors during the above steps. However, they just
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
305 relate to the tests included in the packages. Nevertheless, the installation
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
306 will be fine.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
307
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
308 17.2 Installation of cx_freeze
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
309 ------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
310 cx_freeze is a tool that packages a Python application into executables. It is
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
311 like py2exe and py2app. Get the sources from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
312
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
313 http://cx-freeze.sourceforge.net/
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
314
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
315 and extract the downloaded source archive. cx_freeze needs to compile some
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
316 C sources and expects the compiler to be called gcc-4.2. This is not in the
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
317 executable path. In order to get this changed, cd to /usr/bin and do
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
318
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
319 sudo ln -s gcc gcc-4.2
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
320
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
321 In the extracted cx_freeze directory execute the command
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
322
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
323 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
324
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
325 This completes this installation instruction. Please enjoy using eric4 and let
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
326 the world know about it.

eric ide

mercurial