<commit_before>#!/usr/bin/env python
import os
from setuptools import setup, find_packages


def long_description():
    """
    Build the long description from a README file located in the same directory
    as this module.
    """
    base_path = os.path.dirname(os.path.realpath(__file__))
    readme = open(os.path.join(base_path, 'README'))
    try:
        return readme.read()
    finally:
        readme.close()


setup(
    name='django-countries',
    version='1.4',
    description='Provides a country field for Django models.',
    long_description=long_description(),
    author='<NAME>',
    author_email='<EMAIL>',
    url='http://bitbucket.org/smileychris/django-countries/',
    packages=find_packages(),
    zip_safe=False,
    package_data={'django_countries': [
        'bin/*.py',
        'static/flags/*.gif',
        'locale/*/LC_MESSAGES/*',
    ]},
    # titlecase PYPI is broken, copied the module directly for now (in /bin)
    #      requires=['titlecase'],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Framework :: Django',
    ],
)
<commit_msg>Update setup.py to use renamed README.rst<commit_after>#!/usr/bin/env python
import os
from setuptools import setup, find_packages


def long_description():
    """
    Build the long description from a README file located in the same directory
    as this module.
    """
    base_path = os.path.dirname(os.path.realpath(__file__))
    readme = open(os.path.join(base_path, 'README.rst'))
    try:
        return readme.read()
    finally:
        readme.close()


setup(
    name='django-countries',
    version='1.4',
    description='Provides a country field for Django models.',
    long_description=long_description(),
    author='<NAME>',
    author_email='<EMAIL>',
    url='http://bitbucket.org/smileychris/django-countries/',
    packages=find_packages(),
    zip_safe=False,
    package_data={'django_countries': [
        'bin/*.py',
        'static/flags/*.gif',
        'locale/*/LC_MESSAGES/*',
    ]},
    # titlecase PYPI is broken, copied the module directly for now (in /bin)
    #      requires=['titlecase'],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Framework :: Django',
    ],
)

{'fraction_non_alphanumeric': 0.13649962602842183, 'fraction_numerical': 0.002243829468960359, 'mean_word_length': 2.8489208633093526, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3642688', 'n_tokens_mistral': 811, 'n_tokens_neox': 796, 'n_words': 195}