<commit_before>"""
Django mptt setup file
"""
import os
from setuptools import setup, find_packages

# Dynamically calculate the version based on mptt.VERSION
version_tuple = __import__('mptt').VERSION
version = "%d.%d.%d" % version_tuple

setup(
    name = 'django-mptt-2',
    description = '''Utilities for implementing Modified Preorder Tree
    Traversal with your Django Models and working with trees of Model instances.
    Requires Django 1.1+''',
    version = version,<commit_msg>fix errors in setup.py when version tuple contains strings<commit_after>"""
Django mptt setup file
"""
import os
from setuptools import setup, find_packages

# Dynamically calculate the version based on mptt.VERSION
version_tuple = __import__('mptt').VERSION
version = ".".join([str(v) for v in version_tuple])

setup(
    name = 'django-mptt-2',
    description = '''Utilities for implementing Modified Preorder Tree
    Traversal with your Django Models and working with trees of Model instances.
    Requires Django 1.1+''',
    version = version,
{'fraction_non_alphanumeric': 0.09326923076923077, 'fraction_numerical': 0.0057692307692307696, 'mean_word_length': 4.537234042553192, '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': '5536032', 'n_tokens_mistral': 308, 'n_tokens_neox': 288, 'n_words': 112}