setup¶
gnu/linux¶
Install python-pip
package.
$ sudo aptitude install python-pip
On Fedora:
$ sudo yum install python-pip
On Arch:
$ pacman -S python2-pip
Install combox
using the pip
installer:
$ pip install combox
os x¶
If Hombrew is not already installed, install it first:
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Next, install python
from Hombrew:
$ brew install python
This will also install pip
.
Install combox
using the pip
installer:
$ pip install combox
windows¶
At the moment, combox
is not compatible with Windows. The following
sections describe how to set up the development environment on
Windows.
setup python, pip and virtualenv¶
Install python v2.7.x first: python.org/downloads/windows
Add python to PATH
:
%PATH%;C:\Python27
Make sure python works from Windows Powershell
Get a copy of get-pip.py.
From Windows Powershell, cd
to the directory containing
get-pip.py
file and do:
python get-pip.y
That should install pip
and setuptools
.
Next, add pip to PATH
:
%PATH%;C:\Python27;C:\Python27\Scripts
Make sure pip
works from Windows Powershell by doing:
pip --version
Lastly, install virtualenv
:
pip install virtualenv
install git¶
Get a copy of git
from git-scm.com/download/win
In the “Adjusting your PATH environment” screen in the git
installation wizard, choose the “Use Git from the Windows Command
Prompt”
Make sure git
works from Windows Powershell by doing:
git --version
setup combox¶
install v. c++ compiler¶
From aka.ms/vcpython27 (this is required for installing
pycrypto
package from pip
).