<commit_before># -*- coding: utf-8 -*-

import os

from distutils.core import setup


here = os.path.dirname(__file__)


def get_long_desc():
    return open(os.path.join(here, 'README.rst')).read()


# Function borrowed from carljm.
def get_version():
    fh = open(os.path.join(here, "gcframe", "__init__.py"))
    try:
        for line in fh.readlines():
            if line.startswith("__version__ ="):
                return line.split("=")[1].strip().strip("'")
    finally:
        fh.close()


setup(
    name='django-gcframe',
    version=get_version(),
    description='Django middleware and decorators for working with Google Chrome Frame.',
    url='https://github.com/benspaulding/django-gcframe/',
    author='<NAME>',
    author_email='<EMAIL>',
    license='BSD',
    download_url='https://github.com/benspaulding/django-gcframe/tarball/v{0}'.format(get_version()),
    long_description = get_long_desc(),
    packages = [
        'gcframe',
        'gcframe.tests',
    ],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Browsers',
        'Topic :: Internet :: WWW/HTTP :: Site Management',
    ],
)
<commit_msg>Standardize spacing and quotes in setup.py.<commit_after># -*- coding: utf-8 -*-

import os

from distutils.core import setup


here = os.path.dirname(__file__)


def get_long_desc():
    return open(os.path.join(here, 'README.rst')).read()


# Function borrowed from carljm.
def get_version():
    fh = open(os.path.join(here, 'gcframe', '__init__.py'))
    try:
        for line in fh.readlines():
            if line.startswith('__version__ ='):
                return line.split('=')[1].strip().strip("'")
    finally:
        fh.close()


setup(
    name='django-gcframe',
    version=get_version(),
    description='Django middleware and decorators for working with Google Chrome Frame.',
    url='https://github.com/benspaulding/django-gcframe/',
    author='<NAME>',
    author_email='<EMAIL>',
    license='BSD',
    download_url='https://github.com/benspaulding/django-gcframe/tarball/v{0}'.format(get_version()),
    long_description=get_long_desc(),
    packages=[
        'gcframe',
        'gcframe.tests',
    ],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Browsers',
        'Topic :: Internet :: WWW/HTTP :: Site Management',
    ],
)

{'fraction_non_alphanumeric': 0.15618795499669094, 'fraction_numerical': 0.0033090668431502318, 'mean_word_length': 2.8558673469387754, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6280776', 'n_tokens_mistral': 933, 'n_tokens_neox': 909, 'n_words': 200}