@@ -52,21 +52,31 @@ <h4 class="panel-title"><a role="button" data-toggle="collapse" data-parent="#ac
52
52
</ div >
53
53
< div id ="collapseMac " class ="panel-collapse collapse " role ="tabpanel " aria-labelledby ="headingMac ">
54
54
< div class ="panel-body ">
55
- < p > Installing Nikola on OS X is easy. There are two ways to accomplish this: </ p >
55
+ < p > Installing Nikola on OS X is easy. You can use Homebrew, MacPorts, Fink, or perform a standalone installation using the system Python. </ p >
56
56
< h5 > With < a href ="http://brew.sh/ "> Homebrew</ a > (recommended)</ h5 >
57
- < p > If you have Homebrew installed, skip the first step. If you have Python installed from Homebrew, skip the second step.</ p >
58
57
< ol >
59
- < li > Install < a href ="http://brew.sh/ "> Homebrew</ a > .
60
- </ li >
61
- < li > Run < code class ="gs-code gs-command "> brew install python</ code > </ li >
58
+ < li > Install < a href ="http://brew.sh/ "> Homebrew</ a > .</ li >
59
+ < li > Install Python (and pip) with < code class ="gs-code gs-command "> brew install python</ code > </ li >
62
60
< li > Install virtualenv with < code class ="gs-code gs-command "> pip install virtualenv</ code > </ li >
63
61
< li > Follow the instructions on the right.</ li >
64
62
</ ol >
65
- < h5 > Standalone</ h5 >
63
+ < h5 > With < a href ="https://www.macports.org/ "> MacPorts</ a > </ h5 >
64
+ < ol >
65
+ < li > Install < a href ="https://www.macports.org/ "> MacPorts</ a > .</ li >
66
+ < li > Install pip (and Python) with < code class ="gs-code gs-command "> sudo port install py-pip</ code > </ li >
67
+ < li > Install virtualenv with < code class ="gs-code gs-command "> sudo port install py-virtualenv</ code > </ li >
68
+ < li > Follow the instructions on the right.</ li >
69
+ </ ol >
70
+ < h5 > With < a href ="http://www.finkproject.org/ "> Fink</ a > </ h5 >
71
+ < ol >
72
+ < li > Install < a href ="http://www.finkproject.org/ "> Fink</ a > .</ li >
73
+ < li > Install pip, virtualenv and Python with < code class ="gs-code gs-command "> sudo fink install pip-py27 virtualenv-py27</ code > </ li >
74
+ < li > Follow the instructions on the right.</ li >
75
+ </ ol >
76
+ < h5 > Standalone (advanced)</ h5 >
66
77
< p > You can skip steps 3 and 4 if you use < code class ="gs-code gs-command "> ~/Library/Python/2.7/bin/virtualenv</ code > as your virtualenv command.</ p >
67
78
< ol >
68
- < li > Install < a href ="https://itunes.apple.com/app/xcode/id497799835 "> Xcode</ a > (free) from the App Store.
69
- </ li >
79
+ < li > Install < a href ="https://itunes.apple.com/app/xcode/id497799835 "> Xcode</ a > (free) from the App Store.</ li >
70
80
< li > Install pip and virtualenv with < code class ="gs-code gs-command "> easy_install --user --upgrade --always-copy pip virtualenv</ code > </ li >
71
81
< li > Update your $PATH with < code class ="gs-code gs-command "> echo 'export PATH="~/Library/Python/2.7/bin:$PATH"' >> ~/.bash_profile</ code > </ li >
72
82
< li > Reload your profile with < code class ="gs-code gs-command "> source ~/.bash_profile</ code > </ li >
0 commit comments