Installation notes for Amara
Instructions on this page are generally for UNIX-like systems. For other platforms, see:
Python 2.5/2.6/2.7 are required. Python 3.x is not yet supported. Make sure the Python was built with --enable-unicode=ucs4. You can check this as follows:
python -c 'import sys; print "ucs4" if sys.maxunicode > 2<<15 else "ucs2"'
Which should print "ucs4". If it says "ucs2", Amara should install and work, but you might run into problems if you make sophisticated use of non-Latin characters.
Make sure you're set up to build C code (e.g. Mac users install XCode and Linux users use something like aptitude install build-essential python-pip python-dev) then you can use pip as follows:
Setting up a user virtual Python environment
Download virtualenv.py, then install it:
mkdir -p ~/.local/venv/main python virtualenv.py --distribute --unzip-setuptools $HOME/.local/venv/main
This also installs pip
Setting up the environment
Run the following once and also add it to `~/.bashrc`:
[uche@web21 ~]$ source $HOME/.local/venv/main/bin/activate (.local)[uche@web21 ~]$
This will make sure the virtual Python executable comes before the main system-wide one.
pip install -i http://pypi.zepheira.com/releases/index Amara
Check out the: Amara/Tutorial