|
|
= Installing on Mac OS X =
|
|
|
|
|
|
<<toc 2>>
|
|
|
|
|
|
**Note:** tortoisehg is now available in [[http://www.finkproject.org/|fink]]'s unstable tree, as tortoisehg-py27 (or 25 or 26 if you are using an older python for some reason). You can get it prebuilt for 10.8 from @brendan's unofficial apt repository for fink by adding {{{deb http://brendan.users.finkproject.org/10.8 stable main}}} to {{{/sw/etc/apt/sources.conf}}}. After adding the repository, {{{apt-get update}}} and {{{apt-get install tortoisehg-py27}}}.
|
|
|
There are several ways to install TortoiseHg on Mac OS X.
|
|
|
|
|
|
**Note:** A way via MacPorts is described at the end.
|
|
|
<<toc 2>>
|
|
|
|
|
|
**Note:** Also if you already use Homebrew there are steps at the end. These steps have been confirmed to work with TortoiseHg 2.2.2. They also create an app for your ##Applications## folder. Homebrew does not install Qt from source anymore, so this should be the fastest way.
|
|
|
----
|
|
|
|
|
|
== Source Install ==
|
|
|
== Install from Source ==
|
|
|
|
|
|
=== Dependencies: PyQt and QScintilla ===
|
|
|
|
... | ... | @@ -171,7 +169,15 @@ $ thg log |
|
|
|
|
|
Happy Hacking!
|
|
|
|
|
|
== Alternative: Install via MacPorts ==
|
|
|
----
|
|
|
|
|
|
== Install via Fink ==
|
|
|
|
|
|
TortoiseHg is now available in [[http://www.finkproject.org/|fink]]'s unstable tree, as tortoisehg-py27 (or 25 or 26 if you are using an older python for some reason). You can get it prebuilt for 10.8 from @brendan's unofficial apt repository for fink by adding {{{deb http://brendan.users.finkproject.org/10.8 stable main}}} to {{{/sw/etc/apt/sources.conf}}}. After adding the repository, {{{apt-get update}}} and {{{apt-get install tortoisehg-py27}}}.
|
|
|
|
|
|
----
|
|
|
|
|
|
== Install via MacPorts ==
|
|
|
**Warning:** Installing TortoiseHg this way usually takes //a couple of hours// because Qt is compiled from its sources.
|
|
|
|
|
|
* Install XCode (Version 3.x is free and works)
|
... | ... | @@ -209,9 +215,13 @@ $ sudo easy_install pip |
|
|
$ sudo pip install thg-mac
|
|
|
}}}
|
|
|
|
|
|
== Alternative: Install via Homebrew ==
|
|
|
----
|
|
|
|
|
|
== Install via Homebrew ==
|
|
|
**Note:** Qt now comes pre-compiled with homebrew. So installing TortoiseHg is much faster than it used to be.
|
|
|
|
|
|
**Note:** These steps have been confirmed to work with TortoiseHg 2.2.2. They also create an app for your ##Applications## folder.
|
|
|
|
|
|
* Install XCode via [[http://itunes.apple.com/us/app/xcode/id497799835|AppStore]] or XCode command line tools via [[https://developer.apple.com/downloads/]] (required by Homebrew)
|
|
|
* Install [[http://mxcl.github.com/homebrew/|Homebrew]]
|
|
|
* Add Homebrew's paths to ##$PATH## and ##$PYTHONPATH##:
|
... | ... | |