README-MacOSX.txt

Mon, 21 Nov 2011 19:38:42 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 21 Nov 2011 19:38:42 +0100
branch
5_1_x
changeset 1479
8a7d452573c7
parent 1395
1eb21f914629
permissions
-rwxr-xr-x

Corrected the Mac OS X installation README.
(transplanted from f7a5eeb5a4424e9eb1f26d0f7c4c92abc3223a66)

1395
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 Readme for Mac usage
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 ====================
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 distributors web pages. Because some software is only available as source
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 because of it's completeness. This is the way described below.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11 1. Install Xcode 3 (for Snow Leopard)
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 ------------------
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 The installation of various packages require the Xcode package that is
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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.
1eb21f914629 Made a bunch of 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:
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18 - Essentials
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 - System Tools
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 - UNIX Development
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 - Documentation
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 After the installation has finished perform an update of your system
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 software via the Apple menu.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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/".
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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.
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
31 downloaded the package install it as described above.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
32
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33 1. Install Xcode 4 (for Lion)
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
34 ------------------
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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.
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41 ask for a selection of sub-packages.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
43 2. Install Python 3.2
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 ---------------------
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46 install the python package provided by the Python community. Download it
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
47 from
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
49 http://www.python.org/download/
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
50
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
51 After the download finished open the downloaded package and install it.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53 Note: The Python documentation can be found in these locations
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 /Applications/Python 3.2/Python Documentation.html
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
57
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 3. Install Qt4
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59 --------------
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 Download the Qt4 package from
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
63
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65 tools (e.g. Designer, Linguist) can be found in the location
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
67 /Developer/Tools/Qt
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69 The documentation can be found in these locations
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
70
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
71 /Developer/Documentation/Qt/html (HTML format)
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72 /Developer/Documentation/Qt/qch (QtHelp format)
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
73
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
74 The translation files can be found in this location
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
75
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76 /Developer/Applications/Qt/translations
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
77
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
78 4. Install QScintilla2
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
79 ----------------------
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
80 Download the QScintilla2 source code package from
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82 http://www.riverbankcomputing.com/software/qscintilla/download
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 terminal window
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
88
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
89 qmake qscintilla.pro -spec macx-g++
1479
8a7d452573c7 Corrected the Mac OS X installation README.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1395
diff changeset
90 make -j
1395
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
91 sudo make install
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
92
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
93 5. Install sip
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 --------------
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
95 Download the sip source code package from
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
96
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
97 http://www.riverbankcomputing.com/software/sip/download
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
98
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
101 the extracted folder and enter these commands in a terminal window
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
102
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
103 python3 configure.py
1479
8a7d452573c7 Corrected the Mac OS X installation README.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1395
diff changeset
104 make -j
1395
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
105 sudo make install
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
106
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
107 6. Install PyQt4
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
108 ----------------
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
109 Download the PyQt4 source code package from
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
110
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 http://www.riverbankcomputing.com/software/pyqt/download
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
112
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 the extracted folder and enter these commands in a terminal window
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
116
1eb21f914629 Made a bunch of 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)
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
118 make -j
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
119 sudo make install
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
120
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
121 7. Install QScintilla2 Python bindings
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
122 --------------------------------------
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
124 Python subdirectory. Enter these commands in a terminal window
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
125
1eb21f914629 Made a bunch of 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)
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
127 make -j
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
128 sudo make install
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
129
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
130 8. Install MacPorts
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
131 -------------------
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
136
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
137 http://www.macports.org/install.php
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
138
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
140
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
141 http://guide.macports.org/#using.port
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
142
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
143 9. Install aspell and dictionaries
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
144 -----------------------------------
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
148 install aspell enter this command in a terminal window
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
149
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
150 sudo port install aspell
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
151
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
154 enter
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
155
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
156 port search aspell-dict
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
157
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
158 Then install them with a command like this
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
159
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
160 sudo port install aspell-dict-de aspell-dict-en
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
161
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
162 10. Install hunspell and dictionaries
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
163 -------------------------------------
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
166 sudo port install hunspell
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
167
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
170 dictionaries enter
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
171
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
172 port search hunspell-dict
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
173
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
174 Then install them with a command like this
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
175
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
176
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177 11. Install enchant
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
178 -------------------
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
180
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
181 sudo port install enchant
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
182
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
183 12. Install pyenchant
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
184 ---------------------
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
185 Get the penchant sources from
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
186
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
187 http://pypi.python.org/pypi/pyenchant/1.6.5
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
189 Extract the downloaded sources, change to the sources directory and enter
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
190 this command
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
191
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
192 sudo python3 setup.py install
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
193
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
196 enter this line right after it
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
197
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
198 first_line_re = re.compile('^#!.*python[0-9.]*([ \t].*)?$')
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
199
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
201 these commands
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
202
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
203 >>> import enchant
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
204 >>> enchant.list_dicts()
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
205
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
207 are show for the second command) please recheck the installation checks.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
208
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
209 13. Install pysvn
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
210 -----------------
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
215
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
216 http://pysvn.tigris.org/project_downloads.html
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
217
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
219 command
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
220
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
221 sudo python3 setup.py install
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
222
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
224 commands
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
225
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
226 >>> import pysvn
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
227 >>> pysvn.version
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
228
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
230 an error please check your installation.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
231
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
232 14. Install Mercurial
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
233 ---------------------
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
234 Get Mercurial from
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
235
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
236 http://mercurial.selenic.com/
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
237
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
238 Extract the downloaded package and install it.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
239
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
240 15. Install eric5
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
241 -----------------
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
242 Get the latest eric5 distribution package from
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
243
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
244 http://eric-ide.python-projects.org/eric-download.html
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
245
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
246 Just follow the link on this page to the latest download.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
247
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
249 it with this command
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
250
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
251 sudo python3 install.py
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
252
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
254 start of eric5.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
255
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
256 The eric5 installer created an application bundle in the location
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
257
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
258 /Developer/Applications/Eric5
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
259
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
260 You may drag it to the dock to have it ready.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
261
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
262 16. First start of eric5
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
263 ------------------------
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
265 configured yet. Therefore it will start the configuration dialog with the
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
268 the configuration pages to get a feeling for the configuration possibilities.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
269
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
273
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
274 17. Install optional packages for eric5 (for plug-ins)
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
275 ------------------------------------------------------
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
277 installation of additional python packages. The plug-ins themselves are
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
278 available via the Plugin Repository from within eric5.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
279
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
280 17.1 Installation of pylint
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
281 ---------------------------
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of 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.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
284
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
285 http://download.logilab.org/pub/pylint
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
286 http://download.logilab.org/pub/astng
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
287 http://download.logilab.org/pub/common
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
288
1eb21f914629 Made a bunch of 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
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
290 them with these commands.
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
291
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
292 In the logilab-common-<version> directory do
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
293
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
294 sudo python3 setup.py install
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
295
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
296 In the logilab-astng-<version> directory do
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
297
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
298 sudo python3 setup.py install
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
299
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
300 In the pylint-<version> directory do
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
301
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
302 sudo python3 setup.py install
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
303
1479
8a7d452573c7 Corrected the Mac OS X installation README.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1395
diff changeset
304 Note: You may receive some errors during the above steps. They just relate to
8a7d452573c7 Corrected the Mac OS X installation README.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1395
diff changeset
305 the tests included in the packages. If this occurs, please delete the faulty
8a7d452573c7 Corrected the Mac OS X installation README.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1395
diff changeset
306 test file and retry. As of pylint 0.25.0 this file was
8a7d452573c7 Corrected the Mac OS X installation README.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1395
diff changeset
307 "test/input/func_unknown_encoding.py".
1395
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
308
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
309 17.2 Installation of cx_freeze
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
310 ------------------------------
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
311 cx_freeze is a tool that packages a Python application into executables. It is
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
312 like py2exe and py2app. Get the sources from
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
313
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
314 http://cx-freeze.sourceforge.net/
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
315
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
316 and extract the downloaded source archive. cx_freeze needs to compile some
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
317 C sources and expects the compiler to be called gcc-4.2. This is not in the
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
318 executable path. In order to get this changed, cd to /usr/bin and do
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
319
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
320 sudo ln -s gcc gcc-4.2
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
321
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
322 In the extracted cx_freeze directory execute the command
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
323
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
324 sudo python3 setup.py install
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
325
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
326 This completes this installation instruction. Please enjoy using eric4 and let
1eb21f914629 Made a bunch of Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
327 the world know about it.

eric ide

mercurial