<commit_before>#
# Copyright (c) 2005-2006 rPath, Inc.
#
# All rights reserved
#

all: default-all default-subdirs

SUBDIRS = \
	rpc \
	web

python_files = __init__.py

kid_files = complete.kid \
	config.kid

extra_files = Makefile

dist_files = $(python_files) $(extra_files) $(kid_files)

generated_files = *.pyo *.pyc

.PHONY: clean dist install subdirs

subdirs: default-subdirs

install: all install-subdirs pyfiles-install kidfiles-install
	$(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)$(pluginsdir)', ddir='$(pluginsdir)', quiet=1)"
	$(PYTHON) -OO -c "import compileall; compileall.compile_dir('$(DESTDIR)$(pluginsdir)', ddir='$(pluginsdir)', quiet=1)"

kidfiles-install:
	kidc --strip-dest-dir $$(pwd) $(kid_files)
	mkdir -p $(DESTDIR)$(pluginsdir)$(DIR)
	for f in $(kid_files) *.pyc; do \
		cp -a $$f $(DESTDIR)$(pluginsdir)$(DIR)/$$f; \
	done

dist: default-dist

clean: clean-subdirs default-clean
<commit_msg>Remove Kid templates from Makefile (RBM-212)<commit_after>#
# Copyright (c) 2005-2006 rPath, Inc.
#
# All rights reserved
#

all: default-all default-subdirs

SUBDIRS = \
	rpc \
	web

python_files = __init__.py

extra_files = Makefile

dist_files = $(python_files) $(extra_files)

generated_files = *.pyo *.pyc

.PHONY: clean dist install subdirs

subdirs: default-subdirs

install: all install-subdirs pyfiles-install kidfiles-install
	$(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)$(pluginsdir)', ddir='$(pluginsdir)', quiet=1)"
	$(PYTHON) -OO -c "import compileall; compileall.compile_dir('$(DESTDIR)$(pluginsdir)', ddir='$(pluginsdir)', quiet=1)"

kidfiles-install:
	kidc --strip-dest-dir $$(pwd) $(kid_files)
	mkdir -p $(DESTDIR)$(pluginsdir)$(DIR)
	for f in $(kid_files) *.pyc; do \
		cp -a $$f $(DESTDIR)$(pluginsdir)$(DIR)/$$f; \
	done

dist: default-dist

clean: clean-subdirs default-clean

{'fraction_non_alphanumeric': 0.16523605150214593, 'fraction_numerical': 0.012339055793991416, 'mean_word_length': 5.094771241830065, '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': '6598471', 'n_tokens_mistral': 742, 'n_tokens_neox': 700, 'n_words': 161}