Setting up the APAF build System on Mac OS X

This tutorial winn guide you through the installation of the apaf and its dependencies on a Mac Os X 10.6 environment


This tutorial has been tested only on Mac OS X 10.6 and 10.7 (by mogui) .


This tutorial will start assuming you are on a clean environment. If you have already installed Python, you may consider start reading from Download APAF

Install GnuPG

Install GnuPG as a tool to to verify the various software download:

Install Python

Download Python 2.7 for Mac Os X from

Verify signature of application from .

Install the software following the wizards.

Install Setuptools and pip

Download setup tools:

tar xvzf setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
python2.7 install
Install Pip: ::
python2.7 /Library/Frameworks/Python.framework/Versions/2.7/bin/easy_install-2.7 pip

Install Git

Since github lets you download a simple .zip of the latest revision of your application, git is not indispensable. But certainly it will be comfortable to stay up to date with the software development

Extract Tor binary

In order to extract the Mac OS X tor’s binary we need to download TBB that’s packaged as a zip file::
cd APAF/datadir/contrib/ wget –no-check-certificate
Then extract the Tor binary with the following command line by using 7zip for OSX::
$ unzip
Then move the binary in the current directory::
$mv .

Obtaining APAF

APAF has not stable versions yet. You can download the latest revision from git at:

$ git clone
Onnce downloaded, cd into `apaf` and install its dependencies. ::
cd apaf pip -r requirements.txt

Build Apaf Application

cd ../../ python2.7 py2app

Now in dist/ you will find “”