<commit_before>from distutils.core import setup
import os

NAME = 'django-white-openid'
VERSION = '0.2'


# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
    os.chdir(root_dir)

for dirpath, dirnames, filenames in os.walk('whitelist'):
    # Ignore dirnames that start with '.'
    for i, dirname in enumerate(dirnames):
        if dirname.startswith('.'): del dirnames[i]
    if '__init__.py' in filenames:
        pkg = dirpath.replace(os.path.sep, '.')
        if os.path.altsep:
            pkg = pkg.replace(os.path.altsep, '.')
        packages.append(pkg)
    elif filenames:
        prefix = dirpath[10:] # Strip "whitelist/" or "whitelist\"
        for f in filenames:
            data_files.append(os.path.join(prefix, f))


f = open(os.path.join(os.path.dirname(__file__), 'README.txt'))
long_description = f.read().strip()
f.close()




setup(name=NAME,
        version=VERSION,
        description='OpenID Whitelist application for Django',
        long_description=long_description,
        author='<NAME>',
        author_email='<EMAIL>',
        url='http://github.com/sorki/django-white-openid',<commit_msg>changed old refenrece to new README<commit_after>from distutils.core import setup
import os

NAME = 'django-white-openid'
VERSION = '0.2'


# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
    os.chdir(root_dir)

for dirpath, dirnames, filenames in os.walk('whitelist'):
    # Ignore dirnames that start with '.'
    for i, dirname in enumerate(dirnames):
        if dirname.startswith('.'): del dirnames[i]
    if '__init__.py' in filenames:
        pkg = dirpath.replace(os.path.sep, '.')
        if os.path.altsep:
            pkg = pkg.replace(os.path.altsep, '.')
        packages.append(pkg)
    elif filenames:
        prefix = dirpath[10:] # Strip "whitelist/" or "whitelist\"
        for f in filenames:
            data_files.append(os.path.join(prefix, f))


f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
long_description = f.read().strip()
f.close()




setup(name=NAME,
        version=VERSION,
        description='OpenID Whitelist application for Django',
        long_description=long_description,
        author='<NAME>',
        author_email='<EMAIL>',
        url='http://github.com/sorki/django-white-openid',
{'fraction_non_alphanumeric': 0.13428120063191154, 'fraction_numerical': 0.00315955766192733, 'mean_word_length': 3.098705501618123, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3149917', 'n_tokens_mistral': 853, 'n_tokens_neox': 829, 'n_words': 194}