<commit_before>build:
	python setup.py build clean

dist:
	python setup.py sdist
	rm -rf nutils.egg-info

docs:
	${MAKE} -C docs html

dev: build
	cp build/lib*/nutils/_numeric.so nutils

test: dev
	nosetests tests

clean:
	rm -fr build dist
	rm -f MANIFEST nutils/*.pyc nutils/_numeric.so
	${MAKE} -C docs clean

.PHONY: build dist docs dev test clean

# vim:noexpandtab<commit_msg>add test_examples, test_nose rules<commit_after>build:
	python setup.py build clean

dist:
	python setup.py sdist
	rm -rf nutils.egg-info

docs:
	${MAKE} -C docs html

dev: build
	cp build/lib*/nutils/_numeric.so nutils

test: test_nose test_examples

test_nose: dev
	nosetests tests

test_examples: dev
	for script in examples/*; do \
		python $$script unittest --tbexplore=False; \
	done

clean:
	rm -fr build dist
	rm -f MANIFEST nutils/*.pyc nutils/_numeric.so
	${MAKE} -C docs clean

.PHONY: build dist docs dev test test_nose test_examples clean

# vim:noexpandtab
{'fraction_non_alphanumeric': 0.0944386149003148, 'fraction_numerical': 0.0, 'mean_word_length': 3.8181818181818183, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6210304', 'n_tokens_mistral': 379, 'n_tokens_neox': 355, 'n_words': 115}