<commit_before>from os.path import join, dirname
from setuptools import setup, find_packages

HERE = dirname(__file__)


def get_version():
    fh = open(join(HERE, "piwik", "__init__.py"))
    try:
        for line in fh.readlines():
            if line.startswith("__version__ ="):
                return line.split("=")[1].strip().strip('"')
    finally:
        fh.close()


setup(
    name="piwik",
    version=get_version(),
    description="Application to add Piwik analytics to a Django site",
    long_description=(open(join(HERE, "README.rst")).read() + "\n\n" +
                      open(join(HERE, "LICENSE.txt")).read()),
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/bhell/django-piwik/",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: Web Environment",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Topic :: Internet :: WWW/HTTP :: Site Management",<commit_msg>Renamed package to django-piwik<commit_after>from os.path import join, dirname
from setuptools import setup, find_packages

HERE = dirname(__file__)


def get_version():
    fh = open(join(HERE, "piwik", "__init__.py"))
    try:
        for line in fh.readlines():
            if line.startswith("__version__ ="):
                return line.split("=")[1].strip().strip('"')
    finally:
        fh.close()


setup(
    name="django-piwik",
    version=get_version(),
    description="Application to add Piwik analytics to a Django site",
    long_description=(open(join(HERE, "README.rst")).read() + "\n\n" +
                      open(join(HERE, "LICENSE.txt")).read()),
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/bhell/django-piwik/",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: Web Environment",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Topic :: Internet :: WWW/HTTP :: Site Management",
{'fraction_non_alphanumeric': 0.1556989247311828, 'fraction_numerical': 0.0017204301075268817, 'mean_word_length': 2.8131147540983608, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1229543', 'n_tokens_mistral': 699, 'n_tokens_neox': 681, 'n_words': 162}