<commit_before>#!/usr/bin/env python
import sys

from setuptools import setup, find_packages
from setuptools.command.test import test


class Tox(test):
    def finalize_options(self):
        test.finalize_options(self)
        self.test_args = []
        self.test_suite = True

    def run_tests(self):
        import tox
        errno = tox.cmdline(self.test_args)
        sys.exit(errno)


setup(
    name='littlebrother',
    description='An HTTP document title extractor for Twisted Web',
    version='0.1.1',
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/kxz/littlebrother',
    license='X11',
    packages=find_packages(),
    package_data={
        'littlebrother': ['test/data/*']},
    install_requires=[
        'Twisted>=14.0.0',
        'pyOpenSSL',
        'service_identity',
        'ipaddress'],
    extras_require={
        'av': ['av'],
        'html': ['beautifulsoup4'],
        'image': ['Pillow']},
    tests_require=['tox'],
    cmdclass={'test': Tox})<commit_msg>Version 0.1.2<commit_after>#!/usr/bin/env python
import sys

from setuptools import setup, find_packages
from setuptools.command.test import test


class Tox(test):
    def finalize_options(self):
        test.finalize_options(self)
        self.test_args = []
        self.test_suite = True

    def run_tests(self):
        import tox
        errno = tox.cmdline(self.test_args)
        sys.exit(errno)


setup(
    name='littlebrother',
    description='An HTTP document title extractor for Twisted Web',
    version='0.1.2',
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/kxz/littlebrother',
    license='X11',
    packages=find_packages(),
    package_data={
        'littlebrother': ['test/data/*']},
    install_requires=[
        'Twisted>=14.0.0',
        'pyOpenSSL',
        'service_identity',
        'ipaddress'],
    extras_require={
        'av': ['av'],
        'html': ['beautifulsoup4'],
        'image': ['Pillow']},
    tests_require=['tox'],
    cmdclass={'test': Tox})
{'fraction_non_alphanumeric': 0.15279138099902057, 'fraction_numerical': 0.011263467189030362, 'mean_word_length': 2.8258426966292136, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '1229298', 'n_tokens_mistral': 691, 'n_tokens_neox': 657, 'n_words': 124}