<commit_before>HERE = $(shell pwd)
BIN = $(HERE)/bin
PYTHON = $(BIN)/python

PIP_DOWNLOAD_CACHE ?= $(HERE)/.pip_cache
INSTALL = $(BIN)/pip install
INSTALL += --download-cache $(PIP_DOWNLOAD_CACHE) -U --use-mirrors

BUILD_DIRS = bin build include lib lib64 man share

ZOOKEEPER = $(BIN)/zookeeper
ZOOKEEPER_VERSION = 3.3.5
ZOOKEEPER_PATH ?= $(ZOOKEEPER)

.PHONY: all build clean test zookeeper clean-zookeeper

all: build

$(PYTHON):
	virtualenv --distribute .

build: $(PYTHON)
	$(INSTALL) http://gevent.googlecode.com/files/gevent-1.0b2.tar.gz
	$(INSTALL) zc-zookeeper-static
	$(PYTHON) setup.py develop
	$(INSTALL) kazoo[test]

clean:
	rm -rf $(BUILD_DIRS)

test:
	export ZOOKEEPER_PATH=$(ZOOKEEPER_PATH) && \
	$(BIN)/nosetests -d -v --with-coverage kazoo

html:
	cd docs && \
	make html

$(ZOOKEEPER):
	@echo "Installing Zookeeper"<commit_msg>Update to recent gevent 1.0b3<commit_after>HERE = $(shell pwd)
BIN = $(HERE)/bin
PYTHON = $(BIN)/python

PIP_DOWNLOAD_CACHE ?= $(HERE)/.pip_cache
INSTALL = $(BIN)/pip install
INSTALL += --download-cache $(PIP_DOWNLOAD_CACHE) -U --use-mirrors

BUILD_DIRS = bin build include lib lib64 man share

ZOOKEEPER = $(BIN)/zookeeper
ZOOKEEPER_VERSION = 3.3.5
ZOOKEEPER_PATH ?= $(ZOOKEEPER)

.PHONY: all build clean test zookeeper clean-zookeeper

all: build

$(PYTHON):
	virtualenv --distribute .

build: $(PYTHON)
	$(INSTALL) http://gevent.googlecode.com/files/gevent-1.0b3.tar.gz
	$(INSTALL) zc-zookeeper-static
	$(PYTHON) setup.py develop
	$(INSTALL) kazoo[test]

clean:
	rm -rf $(BUILD_DIRS)

test:
	export ZOOKEEPER_PATH=$(ZOOKEEPER_PATH) && \
	$(BIN)/nosetests -d -v --with-coverage kazoo

html:
	cd docs && \
	make html

$(ZOOKEEPER):
	@echo "Installing Zookeeper"
{'fraction_non_alphanumeric': 0.15398126463700235, 'fraction_numerical': 0.011124121779859485, 'mean_word_length': 4.477564102564102, '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': '1574456', 'n_tokens_mistral': 725, 'n_tokens_neox': 693, 'n_words': 153}