<commit_before>#
#  This is the dexml setuptools script.
#  Originally developed by <NAME>, 2009.
#
#  This script is placed in the public domain.
#

import sys
setup_kwds = {}
try:
    from setuptools import setup
    setup_kwds["test_suite"] = "dexml.test"
    if sys.version_info > (3,):
        setup_kwds["use_2to3"] = True
except ImportError:
    from distutils.core import setup


try:
    next = next
except NameError:
    def next(i):
        return i.next()


info = {}
try:
    src = open("dexml/__init__.py")
    lines = []
    ln = next(src)
    while "__version__" not in ln:
        lines.append(ln)
        ln = next(src)
    while "__version__" in ln:
        lines.append(ln)
        ln = next(src)
    exec("".join(lines),info)
except RuntimeError:
    pass


NAME = "dexml"
VERSION = info["__version__"]
DESCRIPTION = "a dead-simple Object-XML mapper for Python"
LONG_DESC = info["__doc__"]
AUTHOR = "<NAME>"
AUTHOR_EMAIL = "<EMAIL>"
URL="http://www.rfk.id.au/software/"
LICENSE = "MIT"
KEYWORDS = "xml"

setup(name=NAME,
      version=VERSION,
      author=AUTHOR,
      author_email=AUTHOR_EMAIL,
      url=URL,
      description=DESCRIPTION,
      long_description=LONG_DESC,
      license=LICENSE,
      keywords=KEYWORDS,
      packages=["dexml"],
      **setup_kwds
     )
<commit_msg>add trove classifiers for Python 3 support<commit_after>#
#  This is the dexml setuptools script.
#  Originally developed by <NAME>, 2009.
#
#  This script is placed in the public domain.
#

import sys
setup_kwds = {}
try:
    from setuptools import setup
    setup_kwds["test_suite"] = "dexml.test"
    if sys.version_info > (3,):
        setup_kwds["use_2to3"] = True
except ImportError:
    from distutils.core import setup


try:
    next = next
except NameError:
    def next(i):
        return i.next()


info = {}
try:
    src = open("dexml/__init__.py")
    lines = []
    ln = next(src)
    while "__version__" not in ln:
        lines.append(ln)
        ln = next(src)
    while "__version__" in ln:
        lines.append(ln)
        ln = next(src)
    exec("".join(lines),info)
except RuntimeError:
    pass


NAME = "dexml"
VERSION = info["__version__"]
DESCRIPTION = "a dead-simple Object-XML mapper for Python"
LONG_DESC = info["__doc__"]
AUTHOR = "<NAME>"
AUTHOR_EMAIL = "<EMAIL>"
URL="http://www.rfk.id.au/software/"
LICENSE = "MIT"
KEYWORDS = "xml"
CLASSIFIERS = [
    "Programming Language :: Python",
    "Programming Language :: Python :: 2",
    "Programming Language :: Python :: 3",
    "Development Status :: 4 - Beta",
    "License :: OSI Approved :: MIT License"
]

setup(name=NAME,
      version=VERSION,
      author=AUTHOR,
      author_email=AUTHOR_EMAIL,
      url=URL,
      description=DESCRIPTION,
      long_description=LONG_DESC,
      license=LICENSE,
      keywords=KEYWORDS,
      packages=["dexml"],
      classifiers=CLASSIFIERS,
      **setup_kwds
     )

{'fraction_non_alphanumeric': 0.12659098727210183, 'fraction_numerical': 0.006191950464396285, 'mean_word_length': 2.9510869565217392, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3412140', 'n_tokens_mistral': 1012, 'n_tokens_neox': 980, 'n_words': 246}