<commit_before>from __future__ import unicode_literals

import re

from setuptools import find_packages, setup


def get_version(filename):
    content = open(filename).read()
    metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content))
    return metadata['version']


setup(
    name='Mopidy-Youtube',  # Casing as originally registrered on PyPI
    version=get_version('mopidy_youtube/__init__.py'),
    url='https://github.com/mopidy/mopidy-youtube',
    license='Apache License, Version 2.0',
    author='<NAME>',
    author_email='<EMAIL>',
    description='Mopidy extension that plays sound from YouTube',
    long_description=open('README.rst').read(),
    packages=find_packages(exclude=['tests', 'tests.*']),
    zip_safe=False,
    include_package_data=True,
    install_requires=[
        'setuptools',
        'requests >= 2.2.1',
        'pafy >= 0.3.35',
        'Mopidy >= 1.0',
        'Pykka >= 1.1',
    ],
    test_suite='nose.collector',
    tests_require=[
        'nose',
        'mock >= 1.0',
        'vcrpy',
    ],
    entry_points={
        'mopidy.ext': [<commit_msg>setup: Don't mix nose and pytest<commit_after>from __future__ import unicode_literals

import re

from setuptools import find_packages, setup


def get_version(filename):
    content = open(filename).read()
    metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content))
    return metadata['version']


setup(
    name='Mopidy-Youtube',  # Casing as originally registrered on PyPI
    version=get_version('mopidy_youtube/__init__.py'),
    url='https://github.com/mopidy/mopidy-youtube',
    license='Apache License, Version 2.0',
    author='<NAME>',
    author_email='<EMAIL>',
    description='Mopidy extension that plays sound from YouTube',
    long_description=open('README.rst').read(),
    packages=find_packages(exclude=['tests', 'tests.*']),
    zip_safe=False,
    include_package_data=True,
    install_requires=[
        'setuptools',
        'requests >= 2.2.1',
        'pafy >= 0.3.35',
        'Mopidy >= 1.0',
        'Pykka >= 1.1',
    ],
    entry_points={
        'mopidy.ext': [
{'fraction_non_alphanumeric': 0.1605873993368072, 'fraction_numerical': 0.013263855992420654, 'mean_word_length': 3.3636363636363638, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 16, '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': '4678078', 'n_tokens_mistral': 732, 'n_tokens_neox': 707, 'n_words': 131}