<commit_before># convenience makefile to set up the backend

name = $(shell python setup.py --name)
version = 2.7

all: bin/pserve initdb

tests: bin/py.test
	bin/py.test

bin/pserve bin/py.test: bin/python bin/pip setup.py
	bin/pip install zope.sqlalchemy --no-deps -i https://pypi.python.org/simple/
	bin/python setup.py develop easy_install $(name)[development]
	git submodule update --init
	bin/pip install -e src/*

bin/python bin/pip:
	virtualenv-$(version) .

initdb:
	@psql -c "" $(name) 2> /dev/null || createdb $(name) -E utf8 -T template0

clean:
	git clean -fXd

.PHONY: initdb clean tests dist<commit_msg>we want the (setuptools) `dev` alias anyway, so we might also rely on it...<commit_after># convenience makefile to set up the backend

name = $(shell python setup.py --name)
version = 2.7

all: bin/pserve initdb

tests: bin/py.test
	bin/py.test

bin/pserve bin/py.test: bin/python bin/pip setup.py
	bin/pip install zope.sqlalchemy --no-deps -i https://pypi.python.org/simple/
	bin/python setup.py dev
	git submodule update --init
	bin/pip install -e src/*

bin/python bin/pip:
	virtualenv-$(version) .

initdb:
	@psql -c "" $(name) 2> /dev/null || createdb $(name) -E utf8 -T template0

clean:
	git clean -fXd

.PHONY: initdb clean tests dist
{'fraction_non_alphanumeric': 0.13412698412698412, 'fraction_numerical': 0.007936507936507936, 'mean_word_length': 3.4558303886925796, 'pattern_counts': {'":': 0, '<': 3, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '866592', 'n_tokens_mistral': 483, 'n_tokens_neox': 465, 'n_words': 148}