README-MacOSX.txt

Thu, 01 Nov 2012 10:14:41 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 01 Nov 2012 10:14:41 +0100
changeset 2168
b7cf4e2a3012
parent 1737
9868a38ffbc2
child 2306
0f020f39977b
permissions
-rw-r--r--

Prepared new snapshot release of eric 5.3.

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
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
11
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 1. Install Xcode 3 (for Snow Leopard)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 ------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 The installation of various packages require the Xcode package that is
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 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
16 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
17 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
18
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 - Essentials
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 - System Tools
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 - UNIX Development
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 - Documentation
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 After the installation has finished perform an update of your system
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25 software via the Apple menu.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 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
28 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
29 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
30 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
31 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
32 downloaded the package install it as described above.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
34
2168
b7cf4e2a3012 Prepared new snapshot release of eric 5.3.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1737
diff changeset
35 1. Install Xcode 4 (for Lion and Mountain Lion)
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 ------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 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
38 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
39 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
40 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
41 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
42 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
43 ask for a selection of sub-packages.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
45
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46 2. Install Python 3.2
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
47 ---------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48 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
49 install the python package provided by the Python community. Download it
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
50 from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
51
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52 http://www.python.org/download/
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54 After the download finished open the downloaded package and install it.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 Note: The Python documentation can be found in these locations
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 /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
59 /Applications/Python 3.2/Python Documentation.html
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
61
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62 3. Install Qt4
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 Download the Qt4 package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66 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
67
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68 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
69 tools (e.g. Designer, Linguist) can be found in the location
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/Tools/Qt
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
73 The documentation can be found in these locations
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
74
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
75 /Developer/Documentation/Qt/html (HTML format)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76 /Developer/Documentation/Qt/qch (QtHelp format)
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 The translation files can be found in this location
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 /Developer/Applications/Qt/translations
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
82
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83 4. Install QScintilla2
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84 ----------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
85 Download the QScintilla2 source code package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
86
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 http://www.riverbankcomputing.com/software/qscintilla/download
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 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
90 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
91 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
92 terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
93
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 qmake qscintilla.pro -spec macx-g++
1603
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
95 make -j x (number of cores including hyper threaded ones)
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
96 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
97
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
98
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
99 5. Install sip
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
100 --------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
101 Download the sip source code package from
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 http://www.riverbankcomputing.com/software/sip/download
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
104
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
105 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
106 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
107 the extracted folder and enter these commands in a terminal window
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 python3 configure.py
1603
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
110 make -j x (number of cores including hyper threaded ones)
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
112
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
113
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
114 6. Install PyQt4
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 ----------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
116 Download the PyQt4 source code package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
117
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
118 http://www.riverbankcomputing.com/software/pyqt/download
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
119
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
120 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
121 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
122 the extracted folder and enter these commands in a terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
123
1603
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
124 python3 configure.py -c -j x (number of cores including hyper threaded ones)
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
125 make -j x (number of cores including hyper threaded ones)
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
126 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
127
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
128
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
129 7. Install QScintilla2 Python bindings
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
130 --------------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
131 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
132 Python subdirectory. Enter these commands in a terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
133
1603
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
134 python3 configure.py -c -j x (number of cores including hyper threaded ones)
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
135 make -j x (number of cores including hyper threaded ones)
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
136 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
137
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
138
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
139 8. Install MacPorts
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 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
142 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
143 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
144 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
145
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
146 http://www.macports.org/install.php
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
147
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
148 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
149
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
150 http://guide.macports.org/#using.port
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
151
1603
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
152 For a recipe on how to update MacPorts and the installed ports see the end
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
153 of this file (Appendix A)
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
154
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
155
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
156 9. Install aspell and dictionaries
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 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
159 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
160 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
161 install aspell enter this command in a terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
162
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
163 sudo port install aspell
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
164
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165 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
166 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
167 enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
169 port search aspell-dict
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
170
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
171 Then install them with a command like this
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
172
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
173 sudo port install aspell-dict-de aspell-dict-en
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
174
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
175
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
176 10. Install hunspell and dictionaries
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177 -------------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
178 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
179
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
180 sudo port install hunspell
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
181
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
182 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
183 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
184 dictionaries enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
185
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
186 port search hunspell-dict
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
187
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188 Then install them with a command like this
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
189
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
190
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
191 11. Install enchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
192 -------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
193 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
194
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
195 sudo port install enchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
196
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
197
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
198 12. Install pyenchant
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 Get the penchant sources from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
201
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
202 http://pypi.python.org/pypi/pyenchant/1.6.5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
203
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
204 Extract the downloaded sources, change to the sources directory and enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
205 this command
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
206
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
207 sudo python3 setup.py install
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 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
210 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
211 enter this line right after it
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
212
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
213 first_line_re = re.compile('^#!.*python[0-9.]*([ \t].*)?$')
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
214
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
215 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
216 these commands
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 >>> import enchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
219 >>> enchant.list_dicts()
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 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
222 are show for the second command) please recheck the installation checks.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
223
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
224
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
225 13. Install pysvn
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
226 -----------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
227 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
228 gained with the pysvn interface to subversion. Therefore it is recommended to
1737
9868a38ffbc2 Update the README for Mac OS X with respect to the installation of pysvn.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1603
diff changeset
229 install pysvn. Get pysvn via
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
230
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
231 http://pysvn.tigris.org/project_downloads.html
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
232
1737
9868a38ffbc2 Update the README for Mac OS X with respect to the installation of pysvn.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1603
diff changeset
233 After the download finished open the downloaded package and install it.
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
234
1737
9868a38ffbc2 Update the README for Mac OS X with respect to the installation of pysvn.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1603
diff changeset
235 In order to test, if everything worked ok, open a Python shell and enter these
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
236 commands
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 >>> import pysvn
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
239 >>> pysvn.version
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
240
1737
9868a38ffbc2 Update the README for Mac OS X with respect to the installation of pysvn.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1603
diff changeset
241 This should print the pysvn version as a tuple like '(1, 7, 6, 0)'. If you get
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
242 an error please check your installation.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
243
1737
9868a38ffbc2 Update the README for Mac OS X with respect to the installation of pysvn.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1603
diff changeset
244 Note: Mac OS X Lion provides Subversion 1.6.x. When downloading pysvn make sure
9868a38ffbc2 Update the README for Mac OS X with respect to the installation of pysvn.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1603
diff changeset
245 to download the variant compiled against that version. This is important
9868a38ffbc2 Update the README for Mac OS X with respect to the installation of pysvn.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1603
diff changeset
246 because the working copy format of Subversion 1.7.x is incompatible to the
9868a38ffbc2 Update the README for Mac OS X with respect to the installation of pysvn.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1603
diff changeset
247 old one.
9868a38ffbc2 Update the README for Mac OS X with respect to the installation of pysvn.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1603
diff changeset
248
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
249
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
250 14. Install Mercurial
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
251 ---------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
252 Get Mercurial from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
253
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
254 http://mercurial.selenic.com/
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 Extract the downloaded package and install it.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
257
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
258
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
259 15. Install eric5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
260 -----------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
261 Get the latest eric5 distribution package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
262
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
263 http://eric-ide.python-projects.org/eric-download.html
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
264
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
265 Just follow the link on this page to the latest download.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
266
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
267 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
268 it with this command
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 sudo python3 install.py
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
271
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
272 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
273 start of eric5.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
274
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
275 The eric5 installer created an application bundle in the location
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
276
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
277 /Developer/Applications/Eric5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
278
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
279 You may drag it to the dock to have it ready.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
280
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
281
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
282 16. First start of eric5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
283 ------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
284 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
285 configured yet. Therefore it will start the configuration dialog with the
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
286 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
287 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
288 the configuration pages to get a feeling for the configuration possibilities.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
289
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
290 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
291 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
292 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
293
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
294
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
295 17. Install optional packages for eric5 (for plug-ins)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
296 ------------------------------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
297 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
298 installation of additional python packages. The plug-ins themselves are
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
299 available via the Plugin Repository from within eric5.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
300
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
301
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
302 17.1 Installation of pylint
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 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
305 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
306
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
307 http://download.logilab.org/pub/pylint
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
308 http://download.logilab.org/pub/astng
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
309 http://download.logilab.org/pub/common
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
310
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
311 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
312 them with these commands.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
313
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
314 In the logilab-common-<version> directory do
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
315
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
316 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
317
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
318 In the logilab-astng-<version> directory do
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
319
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
320 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
321
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
322 In the pylint-<version> directory do
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
323
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
324 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
325
1463
f7a5eeb5a442 Corrected the Mac OS X installation README.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1438
diff changeset
326 Note: You may receive some errors during the above steps. They just relate to
f7a5eeb5a442 Corrected the Mac OS X installation README.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1438
diff changeset
327 the tests included in the packages. If this occurs, please delete the faulty
f7a5eeb5a442 Corrected the Mac OS X installation README.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1438
diff changeset
328 test file and retry. As of pylint 0.25.0 this file was
f7a5eeb5a442 Corrected the Mac OS X installation README.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1438
diff changeset
329 "test/input/func_unknown_encoding.py".
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
330
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
331
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
332 17.2 Installation of cx_freeze
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
333 ------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
334 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
335 like py2exe and py2app. Get the sources from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
336
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
337 http://cx-freeze.sourceforge.net/
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
338
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
339 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
340 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
341 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
342
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
343 sudo ln -s gcc gcc-4.2
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
344
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
345 In the extracted cx_freeze directory execute the command
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
346
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
347 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
348
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
349 This completes this installation instruction. Please enjoy using eric4 and let
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
350 the world know about it.
1603
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
351
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
352 Appendix A Update of MacPorts
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
353 -----------------------------
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
354 In order to update MacPorts and the installed packages enter these commands in a
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
355 terminal window
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
356
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
357 sudo port selfupdate (update MacPorts itself)
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
358 sudo port upgrade outdated (update outdated installed ports)

eric ide

mercurial