README-MacOSX.txt

Sat, 12 Nov 2011 12:44:07 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 12 Nov 2011 12:44:07 +0100
changeset 1438
a7d1841ca909
parent 1387
1734bc5f4f82
child 1463
f7a5eeb5a442
permissions
-rw-r--r--

Reformatted the Mac README file for enhanced readability.

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
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
35 1. Install Xcode 4 (for Lion)
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++
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
95 make
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
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
110 make
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
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
124 python3 configure.py -c -j 8 (number of cores including hyper threaded ones)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
125 make -j
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
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
134 python3 configure.py -c -j 8 (number of cores including hyper threaded ones)
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
135 make -j
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
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
152
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
153 9. Install aspell and dictionaries
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
154 -----------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
155 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
156 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
157 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
158 install aspell enter this command in a terminal window
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
159
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
160 sudo port install aspell
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
161
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
162 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
163 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
164 enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
166 port search aspell-dict
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
167
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168 Then install them with a command like this
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
169
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
170 sudo port install aspell-dict-de aspell-dict-en
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
171
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
172
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
173 10. Install hunspell and dictionaries
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
174 -------------------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
175 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
176
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177 sudo port install hunspell
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
178
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
179 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
180 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
181 dictionaries enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
182
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
183 port search hunspell-dict
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
184
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
185 Then install them with a command like this
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
186
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
187
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188 11. Install enchant
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 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
191
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
192 sudo port install enchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
193
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
194
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
195 12. Install pyenchant
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 Get the penchant sources from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
198
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
199 http://pypi.python.org/pypi/pyenchant/1.6.5
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 Extract the downloaded sources, change to the sources directory and enter
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
202 this command
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 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
205
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
206 If you get a TypeError during the above operations open the file listed
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
207 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
208 enter this line right after it
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 first_line_re = re.compile('^#!.*python[0-9.]*([ \t].*)?$')
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 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
213 these commands
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 >>> import enchant
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
216 >>> enchant.list_dicts()
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 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
219 are show for the second command) please recheck the installation checks.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
220
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
221
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
222 13. Install pysvn
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
223 -----------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
224 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
225 gained with the pysvn interface to subversion. Therefore it is recommended to
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
226 install pysvn. That should be done from sources. Please note, that pysvn needs
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
227 an updated pycxx if you installed Python 3.2.x. Get pysvn via
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
228
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
229 http://pysvn.tigris.org/project_downloads.html
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 Extract the downloaded sources, change to the sources directory and enter this
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
232 command
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 sudo python3 setup.py install
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 In order to test, if everything worked ok open a Python shell and enter these
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
237 commands
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 >>> import pysvn
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
240 >>> pysvn.version
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
241
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
242 This should print the pysvn version as a tuple like '(1, 7, 5, 0)'. If you get
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
243 an error please check your installation.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
244
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
245
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
246 14. Install Mercurial
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
247 ---------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
248 Get Mercurial from
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 http://mercurial.selenic.com/
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 Extract the downloaded package and install it.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
253
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
254
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
255 15. Install eric5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
256 -----------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
257 Get the latest eric5 distribution package from
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 http://eric-ide.python-projects.org/eric-download.html
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 Just follow the link on this page to the latest download.
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 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
264 it with this command
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
265
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
266 sudo python3 install.py
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
267
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
268 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
269 start of eric5.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
270
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
271 The eric5 installer created an application bundle in the location
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
272
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
273 /Developer/Applications/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 You may drag it to the dock to have it ready.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
276
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
277
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
278 16. First start of eric5
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
279 ------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
280 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
281 configured yet. Therefore it will start the configuration dialog with the
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
282 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
283 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
284 the configuration pages to get a feeling for the configuration possibilities.
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 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
287 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
288 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
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 17. Install optional packages for eric5 (for plug-ins)
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 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
294 installation of additional python packages. The plug-ins themselves are
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
295 available via the Plugin Repository from within eric5.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
296
1438
a7d1841ca909 Reformatted the Mac README file for enhanced readability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 1387
diff changeset
297
1387
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
298 17.1 Installation of pylint
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
299 ---------------------------
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
300 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
301 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
302
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
303 http://download.logilab.org/pub/pylint
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
304 http://download.logilab.org/pub/astng
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
305 http://download.logilab.org/pub/common
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 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
308 them with these commands.
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
309
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
310 In the logilab-common-<version> directory do
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
311
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
312 sudo python3 setup.py install
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-astng-<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 pylint-<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 Note: You may receive some errors during the above steps. However, they just
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
323 relate to the tests included in the packages. Nevertheless, the installation
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
324 will be fine.
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.2 Installation of cx_freeze
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 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
330 like py2exe and py2app. Get the sources from
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
331
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
332 http://cx-freeze.sourceforge.net/
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 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
335 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
336 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
337
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
338 sudo ln -s gcc gcc-4.2
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
339
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
340 In the extracted cx_freeze directory execute the command
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
341
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
342 sudo python3 setup.py install
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
343
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
344 This completes this installation instruction. Please enjoy using eric4 and let
1734bc5f4f82 Mac related changes.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
345 the world know about it.

eric ide

mercurial