README-MacOSX.txt

Sat, 05 Jul 2014 11:41:14 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 05 Jul 2014 11:41:14 +0200
changeset 3669
ac84ac3c0f05
parent 2382
a55e5e94a87b
child 3758
19866b4e9027
permissions
-rw-r--r--

Continued renaming eric5 for PyQt5 to eric6.

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
2306
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
46 2. Install Python 3.2 or 3.3
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
47 ----------------------------
1387
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
2306
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
61 or
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
62
2306
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
63 /Library/Frameworks/Python.framework/Versions/3.3/Resources/English.lproj/Documentation/index.html
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
64 /Applications/Python 3.3/Python Documentation.html
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
65
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
66 3a. Install Qt4
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
67 ---------------
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68 Download the Qt4 package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69
2306
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
70 http://qt-project.org/downloads
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
71
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72 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
73 tools (e.g. Designer, Linguist) can be found in the location
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/Tools/Qt
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
77 The documentation can be found in these locations
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
78
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
79 /Developer/Documentation/Qt/html (HTML format)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
80 /Developer/Documentation/Qt/qch (QtHelp format)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82 The translation files can be found in this location
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84 /Developer/Applications/Qt/translations
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
85
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
86
2306
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
87 3b. Install Qt5
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
88 ---------------
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
89 Download the Qt5 package from
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
90
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
91 http://qt-project.org/downloads
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
92
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
93 After the download finished open the downloaded package and install it. The
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
94 tools (e.g. Designer, Linguist) can be found in the location
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
95
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
96 ˜/Qt<version>/<version>/<compiler>/bin
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
97 e.g. ˜/Qt5.0.0/5.0.0/clang_64/bin
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
98
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
99 The documentation can be found in these locations
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
100
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
101 ˜/Qt<version>/<version>/<compiler>/qtdoc (HTML format)
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
102 ˜/Qt<version>/<version>/<compiler>/ (QtHelp format)
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
103
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
104 The translation files can be found in this location
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
105
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
106 ˜/Qt<version>/<version>/<compiler>//translations
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
107
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
108
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
109 4. Install QScintilla2
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
110 ----------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 Download the QScintilla2 source code package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
112
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
113 http://www.riverbankcomputing.com/software/qscintilla/download
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
114
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 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
116 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
117 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
118 terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
119
2306
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
120 Qt4:
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
121 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
122 make -j x (number of cores including hyper threaded ones)
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
123 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
124
2306
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
125 Qt5:
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
126 qmake qscintilla.pro
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
127 make -j x (number of cores including hyper threaded ones)
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
128 sudo make install
0f020f39977b Extended the Mac support to be able to install multiple configurations in parallel (e.g. for Qt4 and Qt5).
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2168
diff changeset
129
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
130
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
131 5. Install sip
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
132 --------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
133 Download the sip source code package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
134
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
135 http://www.riverbankcomputing.com/software/sip/download
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
136
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
137 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
138 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
139 the extracted folder and enter these commands in a terminal window
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 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
142 make -j x (number of cores including hyper threaded ones)
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
143 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
144
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
145
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
146 6. Install PyQt4
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 Download the PyQt4 source code package from
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://www.riverbankcomputing.com/software/pyqt/download
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
151
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
152 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
153 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
154 the extracted folder and enter these commands in a terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
155
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
156 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
157 make -j x (number of cores including hyper threaded ones)
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
158 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
159
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
160
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
161 7. Install QScintilla2 Python bindings
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 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
164 Python subdirectory. Enter these commands in a terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165
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
166 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
167 make -j x (number of cores including hyper threaded ones)
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168 sudo make install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
169
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
170
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
171 8. Install MacPorts
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 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
174 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
175 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
176 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
177
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
178 http://www.macports.org/install.php
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 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
181
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
182 http://guide.macports.org/#using.port
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
183
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
184 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
185 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
186
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
187
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188 9. Install aspell and dictionaries
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 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
191 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
192 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
193 install aspell enter this command in a terminal window
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 aspell
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
196
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
197 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
198 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
199 enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
200
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
201 port search aspell-dict
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
202
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
203 Then install them with a command like this
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
204
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
205 sudo port install aspell-dict-de aspell-dict-en
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
206
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
207
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
208 10. Install hunspell and dictionaries
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
209 -------------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
210 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
211
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
212 sudo port install hunspell
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
213
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
214 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
215 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
216 dictionaries enter
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 port search hunspell-dict
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
219
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
220 Then install them with a command like this
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
221
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
222
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
223 11. Install enchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
224 -------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
225 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
226
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
227 sudo port install enchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
228
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
229
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
230 12. Install pyenchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
231 ---------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
232 Get the penchant sources from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
233
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
234 http://pypi.python.org/pypi/pyenchant/1.6.5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
235
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
236 Extract the downloaded sources, change to the sources directory and enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
237 this command
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
238
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
239 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
240
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
241 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
242 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
243 enter this line right after it
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
244
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
245 first_line_re = re.compile('^#!.*python[0-9.]*([ \t].*)?$')
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
246
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
247 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
248 these commands
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
249
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
250 >>> import enchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
251 >>> enchant.list_dicts()
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
252
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
253 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
254 are show for the second command) please recheck the installation checks.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
255
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
256
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
257 13. Install pysvn
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
258 -----------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
259 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
260 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
261 install pysvn. Get pysvn via
1387
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://pysvn.tigris.org/project_downloads.html
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
264
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
265 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
266
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
267 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
268 commands
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 >>> import pysvn
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
271 >>> pysvn.version
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
272
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
273 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
274 an error please check your installation.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
275
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
276 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
277 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
278 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
279 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
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 14. Install Mercurial
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 Get Mercurial from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
285
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
286 http://mercurial.selenic.com/
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
287
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
288 Extract the downloaded package and install it.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
289
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
290
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
291 15. Install eric5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
292 -----------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
293 Get the latest eric5 distribution package from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
294
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
295 http://eric-ide.python-projects.org/eric-download.html
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 Just follow the link on this page to the latest download.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
298
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
299 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
300 it with this command
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
301
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
302 sudo python3 install.py
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 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
305 start of eric5.
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 The eric5 installer created an application bundle in the location
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
308
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
309 /Developer/Applications/Eric5
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 You may drag it to the dock to have it ready.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
312
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
313
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
314 16. First start of eric5
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 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
317 configured yet. Therefore it will start the configuration dialog with the
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
318 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
319 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
320 the configuration pages to get a feeling for the configuration possibilities.
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 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
323 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
324 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
325
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
326
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
327 17. Install optional packages for eric5 (for plug-ins)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
328 ------------------------------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
329 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
330 installation of additional python packages. The plug-ins themselves are
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
331 available via the Plugin Repository from within eric5.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
332
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
333
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
334 17.1 Installation of pylint
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
335 ---------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
336 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
337 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
338
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
339 http://download.logilab.org/pub/pylint
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
340 http://download.logilab.org/pub/astng
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
341 http://download.logilab.org/pub/common
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 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
344 them with these commands.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
345
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
346 In the logilab-common-<version> directory do
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
347
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
348 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
349
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
350 In the logilab-astng-<version> directory do
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
351
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
352 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
353
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
354 In the pylint-<version> directory do
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
355
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
356 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
357
1463
f7a5eeb5a442 Corrected the Mac OS X installation README.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1438
diff changeset
358 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
359 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
360 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
361 "test/input/func_unknown_encoding.py".
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
362
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
363
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
364 17.2 Installation of cx_freeze
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
365 ------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
366 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
367 like py2exe and py2app. Get the sources from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
368
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
369 http://cx-freeze.sourceforge.net/
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
370
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
371 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
372 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
373 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
374
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
375 sudo ln -s gcc gcc-4.2
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
376
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
377 In the extracted cx_freeze directory execute the command
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
378
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
379 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
380
2382
a55e5e94a87b Added a README file for the Raspberry Pi and corrected typos in the Mac README.
"Detlev Offenbach <detlev@die-offenbachs.de>"
parents: 2306
diff changeset
381 This completes this installation instruction. Please enjoy using eric5 and let
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
382 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
383
2382
a55e5e94a87b Added a README file for the Raspberry Pi and corrected typos in the Mac README.
"Detlev Offenbach <detlev@die-offenbachs.de>"
parents: 2306
diff changeset
384
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
385 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
386 -----------------------------
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
387 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
388 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
389
78e467568df7 Ammended the Mac OS X README file a bit to give more hints.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1463
diff changeset
390 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
391 sudo port upgrade outdated (update outdated installed ports)

eric ide

mercurial