<commit_before>#!/bin/env python

import os
import re
from shutil import copy2

destination_root = os.environ.get("POTOO_API")

roots = {
	"output" : [ "bin32", "bin64", "lib32", "lib64", ],
	"source/cut" : [ "include", ],
}

root_files = (
	"cut-import.props",
)

# A list of patterns to check if a file should be installed or not.
# The absolute file names will be checked against these patterns.
# Note: On Windows, the file names will have backslashes, not forward slashes
ignored_files = (
	r"\.ilk",
	r"\.exp",
	r"\.gitkeep",
	r"cut-samples",
	r"cut-detail/",
	r"stdafx\.h",
)

def is_ignored(f):
	for pattern in ignored_files:
		if re.search(pattern, f):
			return True
	return False
<commit_msg>adjusted install.py script to cope with new build output.<commit_after>#!/bin/env python

import os
import re
from shutil import copy2

destination_root = os.environ.get("POTOO_API")

roots = {
	"output" : [
		"bin/WinVs2013Debug32", "bin/WinVs2013Debug64", "bin/WinVs2013Release32", "bin/WinVs2013Release64",
		"lib/WinVs2013Debug32", "lib/WinVs2013Debug64", "lib/WinVs2013Release32", "lib/WinVs2013Release64",
		],
	"source/cut" : [ "include", ],
}

root_files = (
	"cut-import.props",
)

# A list of patterns to check if a file should be installed or not.
# The absolute file names will be checked against these patterns.
# Note: On Windows, the file names will have backslashes, not forward slashes
ignored_files = (
	r"\.ilk",
	r"\.exp",
	r"\.gitkeep",
	r"cut-samples",
	r"cut-detail/",
	r"stdafx\.h",
)

def is_ignored(f):
	for pattern in ignored_files:
		if re.search(pattern, f):
			return True
	return False

{'fraction_non_alphanumeric': 0.13950617283950617, 'fraction_numerical': 0.03580246913580247, 'mean_word_length': 4.2459546925566345, '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': '1109439', 'n_tokens_mistral': 647, 'n_tokens_neox': 588, 'n_words': 168}