<commit_before>#!/usr/bin/env python2
from datetime import date
from setuptools import setup, find_packages
import os
import re
from glob import glob

APPVER = (
    line.strip() for line in open('mailpile/defaults.py', 'r')
    if re.match(r'^APPVER\s*=', line)
).next().split('"')[1]

try:
    # This borks sdist.
    os.remove('.SELF')
except:<commit_msg>Fix next() not being existent in py3k<commit_after>#!/usr/bin/env python2
from datetime import date
from setuptools import setup, find_packages
import os
import re
from glob import glob

APPVER = next(
    line.strip() for line in open('mailpile/defaults.py', 'r')
    if re.match(r'^APPVER\s*=', line)
).split('"')[1]

try:
    # This borks sdist.
    os.remove('.SELF')
except:
{'fraction_non_alphanumeric': 0.14789687924016282, 'fraction_numerical': 0.0067842605156037995, 'mean_word_length': 4.125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4563699', 'n_tokens_mistral': 268, 'n_tokens_neox': 261, 'n_words': 78}