<commit_before>Development
===========

If you want to hack on fava or run the latest development version, this will
get you up and running:

.. code:: bash

    git clone https://github.com/aumayr/fava.git
    cd fava
    # using a virtual environment is optional, but recommended
    virtualenv -p python3 venv
    . venv/bin/activate
    make build-js
    pip install --editable .

Note that a development installation fava requires recent versions of Node.js and
npm, both available on OS X and Linux, but currently not on Cygwin.

If you need a newer version of ``beancount`` than you can find on PyPi, you can
run from source like so (more details `here <http://furius.ca/beancount/doc/install>`__):
<commit_msg>docs: add note how to build wheels<commit_after>Development
===========

If you want to hack on fava or run the latest development version, this will
get you up and running:

.. code:: bash

    git clone https://github.com/aumayr/fava.git
    cd fava
    # using a virtual environment is optional, but recommended
    virtualenv -p python3 venv
    . venv/bin/activate
    make build-js
    pip install --editable .

Note that a development installation fava requires recent versions of Node.js and
npm, both available on OS X and Linux, but currently not on Cygwin.
To package the development version, you can run `python setup.py bdist_wheel`
(make sure the `wheel` Python package is installed), which will produce a
`.whl` file in the `dist` directory which you can install with `pip` on a
different machine.

If you need a newer version of ``beancount`` than you can find on PyPi, you can
run from source like so (more details `here <http://furius.ca/beancount/doc/install>`__):

{'fraction_non_alphanumeric': 0.08108108108108109, 'fraction_numerical': 0.0011750881316098707, 'mean_word_length': 3.665753424657534, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2183774', 'n_tokens_mistral': 493, 'n_tokens_neox': 474, 'n_words': 237}