@@ -12,25 +12,26 @@ If you are a developer and you want to modify the code, contribute, build packag
12
12
#### Install FTDI driver
13
13
* [ FTDI USB Driver] ( http://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDriver_v2_3.dmg )
14
14
15
+ #### Atom IDE
16
+ Download open source [ Atom code editor] ( https://atom.io/ ) .
17
+
15
18
#### Install Homebrew
16
19
``` bash
17
20
ruby -e " $( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) "
18
21
```
19
22
20
- #### Atom IDE
21
- Download open source [ Atom code editor] ( https://atom.io/ ) .
22
-
23
23
#### Git version control
24
24
``` bash
25
25
brew install git
26
26
```
27
27
28
28
#### Python
29
- Install non-system, framework-based, universal [ Python] ( http ://www.python.org/ftp/python/2.7.6 /python-2.7.6 -macosx10.6.dmg ) . Not with brew.
29
+ Install non-system, framework-based, universal [ Python] ( https ://www.python.org/ftp/python/2.7.10 /python-2.7.10 -macosx10.6.pkg ) . Not with brew.
30
30
31
31
#### Python tools
32
32
``` bash
33
- pip install -U pip setuptools virtualenv
33
+ pip install -U pip setuptools
34
+ pip install -U virtualenv
34
35
```
35
36
36
37
### Dependencies
@@ -74,13 +75,34 @@ ln -s /usr/local/Cellar/wxpython/3.0.2.0/lib/python2.7/site-packages/wx* $HOME/v
74
75
75
76
#### Python modules
76
77
``` bash
77
- pip install -U pyserial pyopengl pyopengl-accelerate numpy scipy matplotlib==1.4.0 pyobjc-framework-qtkit
78
+ pip install -U pyserial pyopengl pyopengl-accelerate numpy scipy matplotlib==1.4.0
78
79
```
79
80
80
- NOTE: if 'xcodebuild' fails, try:
81
+ ##### Pyobjc QTKit
82
+
83
+ * Install Xcode.app. Then, switch xcode commands and accept the xcodebuild license
81
84
82
85
``` bash
83
86
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
87
+ sudo xcodebuild
88
+ ```
89
+
90
+ * Downgrade setuptools
91
+ ``` bash
92
+ pip install -U setuptools==3.4
93
+ ```
94
+
95
+ * Install qtkit 2.5.1
96
+ ``` bash
97
+ pip install -U pyobjc-core==2.5.1
98
+ pip install -U pyobjc-framework-cocoa==2.5.1
99
+ pip install -U pyobjc-framework-quartz==2.5.1
100
+ pip install -U pyobjc-framework-qtkit==2.5.1
101
+ ```
102
+
103
+ * Restore setuptools
104
+ ``` bash
105
+ pip install -U setuptools
84
106
```
85
107
86
108
In order to generate dmg package, some extra dependencies are needed
@@ -117,10 +139,7 @@ All source code is available on GitHub. You can download main Horus project by d
117
139
### Horus
118
140
``` bash
119
141
git clone https://github.com/bq/horus.git
120
- ```
121
- or
122
- ``` bash
123
- git clone git@github.com:bq/horus.git
142
+ cd horus
124
143
```
125
144
126
145
## 3. Execute source code
0 commit comments