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

To create a buildout,

  $ python bootstrap.py
  $ bin/buildout

Release HOWTO
=============

To make a release, 

  1) Update release date/version in NEWS.txt and setup.py
  2) Run 'python setup.py sdist'
  3) Test the generated source distribution in dist/
  4) Upload to PyPI: 'python setup.py sdist register upload'
  5) Increase version in setup.py (for next release)
<commit_msg>Update HACKING instructions.<commit_after>==================
 Hacking Cascajal
==================

Cascajal consists of two components: a Python script, and a Firefox
Addon. The Firefox Addon is responsible for triggering the print to
PDF job. The Addon is internally referred to as *prontoprint*.

Development setup
=================

Cascajal uses buildout to manage dependencies. To create a buildout::

  $ python bootstrap.py
  $ bin/buildout

Running Unit Tests
==================

You can run the unit tests by running::

  $ python setup.py test


Release HOWTO
=============

To make a release,

  1) Update release date/version in NEWS.txt and setup.py
  2) Run 'python setup.py sdist'
  3) Test the generated source distribution in dist/
  4) Upload to PyPI: 'python setup.py sdist register upload'
  5) Increase version in setup.py (for next release)
{'fraction_non_alphanumeric': 0.14164742109314857, 'fraction_numerical': 0.007698229407236336, 'mean_word_length': 4.284552845528455, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7002058', 'n_tokens_mistral': 389, 'n_tokens_neox': 356, 'n_words': 163}