<commit_before># ---------------------------------
# Finds Python
# Adds library to target
# Adds include path
# ---------------------------------

IF(WIN32)
FIND_PATH(PATH_PYTHON include/Python.h PATHS 
		"c:\python27" $ENV{OpenViBE_dependencies}
		[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.7\\InstallPath]
		[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath]
		[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]
		[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]
		[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.3\\InstallPath])
	IF(PATH_PYTHON)
		MESSAGE(STATUS "  Found Python...")
		INCLUDE_DIRECTORIES(${PATH_PYTHON}/include)<commit_msg>cmake-modules:  * FindThirdPartyPython.cmake : removed the line searching for Python versions other than 2.7<commit_after># ---------------------------------
# Finds Python
# Adds library to target
# Adds include path
# ---------------------------------

IF(WIN32)
	FIND_PATH(PATH_PYTHON include/Python.h PATHS "c:\python27" $ENV{OpenViBE_dependencies}	[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.7\\InstallPath])
		
	IF(PATH_PYTHON)
		MESSAGE(STATUS "  Found Python...")
		INCLUDE_DIRECTORIES(${PATH_PYTHON}/include)
{'fraction_non_alphanumeric': 0.2318840579710145, 'fraction_numerical': 0.017713365539452495, 'mean_word_length': 2.872274143302181, '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': '3305733', 'n_tokens_mistral': 453, 'n_tokens_neox': 408, 'n_words': 58}