<commit_before># coding=utf-8
import setuptools

########################################################################################################################

plugin_identifier = "GPX"
plugin_package = "octoprint_%s" % plugin_identifier
plugin_name = "OctoPrint-GPX"
plugin_version = "0.1"
plugin_description = "Emulates the gcode printer protocol by translating to/from x3g."
plugin_author = "<NAME>"
plugin_author_email = "<EMAIL>"
plugin_url = "http://github.com/markwal/OctoPrint-GPX"
plugin_license = "AGPLv3"

plugin_additional_data = []

########################################################################################################################

def package_data_dirs(source, sub_folders):
	import os
	dirs = []

	for d in sub_folders:
		folder = os.path.join(source, d)
		if not os.path.exists(folder):
			continue

		for dirname, _, files in os.walk(folder):
			dirname = os.path.relpath(dirname, source)
			for f in files:
				dirs.append(os.path.join(dirname, f))

	return dirs<commit_msg>Update version number<commit_after># coding=utf-8
import setuptools

########################################################################################################################

plugin_identifier = "GPX"
plugin_package = "octoprint_%s" % plugin_identifier
plugin_name = "OctoPrint-GPX"
plugin_version = "0.2-a1"
plugin_description = "Emulates the gcode printer protocol by translating to/from x3g."
plugin_author = "<NAME>"
plugin_author_email = "<EMAIL>"
plugin_url = "http://github.com/markwal/OctoPrint-GPX"
plugin_license = "AGPLv3"

plugin_additional_data = []

########################################################################################################################

def package_data_dirs(source, sub_folders):
	import os
	dirs = []

	for d in sub_folders:
		folder = os.path.join(source, d)
		if not os.path.exists(folder):
			continue

		for dirname, _, files in os.walk(folder):
			dirname = os.path.relpath(dirname, source)
			for f in files:
				dirs.append(os.path.join(dirname, f))

	return dirs
{'fraction_non_alphanumeric': 0.32331555986427535, 'fraction_numerical': 0.005332040717401842, 'mean_word_length': 6.532846715328467, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2570942', 'n_tokens_mistral': 636, 'n_tokens_neox': 589, 'n_words': 131}