This library contains functions for handling translations and source code using the new Audaces ML translation system.
Install through pip
:
$ pip install -e git+https://github.com/Audaces/ml#egg=ml
Make sure you have Python 3.4+ and virtualenv
:
$ pip install virtualenv
Create a virtualenv and activate it:
$ virtualenv mlenv
And activate it:
$ . mlenv/Scripts/activate
Or on cmd
> mlenv\Scripts\activate
Install the required packages for development:
$ pip install -r test_dependencies.txt -r doc_dependencies.txt
Run tests through nose
:
$ nosetests
Run with coverage
:
$ nosetests --with-coverage --cover-erase --cover-package src
You will need cx-freeze. cx-freeze from pip is broken in Windows for Python 3.4. You can get it from http://www.lfd.uci.edu/~gohlke/pythonlibs/#cx_freeze.
Run:
$ python build.py build