<commit_before># coding=utf-8

import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand

with open('README.rst', 'r', encoding='utf-8') as fd:
    long_description = fd.read()


def read_version():
    p = os.path.join(os.path.abspath(os.path.dirname(__file__)),
                     "xpaw",
                     "version.py")
    with open(p, 'r', encoding='utf-8') as f:
        return f.read().split("=")[-1].strip().strip('"')


class PyTest(TestCommand):
    user_options = []

    def run(self):
        import subprocess
        errno = subprocess.call([sys.executable, '-m', 'pytest', 'tests'])
        raise SystemExit(errno)


def main():
    if sys.version_info < (3, 5):
        raise RuntimeError("Python 3.5+ is required")
    install_requires = [
        "aiohttp>=2.3.2",
        "lxml>=4.1.0",
        "cssselect>=1.0.1"
    ]
    tests_requires = install_requires + ["pytest", "pytest-aiohttp"]
    setup(
        name="xpaw",
        version=read_version(),
        url="https://github.com/jadbin/xpaw",<commit_msg>update pytest-aiohttp version<commit_after># coding=utf-8

import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand

with open('README.rst', 'r', encoding='utf-8') as fd:
    long_description = fd.read()


def read_version():
    p = os.path.join(os.path.abspath(os.path.dirname(__file__)),
                     "xpaw",
                     "version.py")
    with open(p, 'r', encoding='utf-8') as f:
        return f.read().split("=")[-1].strip().strip('"')


class PyTest(TestCommand):
    user_options = []

    def run(self):
        import subprocess
        errno = subprocess.call([sys.executable, '-m', 'pytest', 'tests'])
        raise SystemExit(errno)


def main():
    if sys.version_info < (3, 5):
        raise RuntimeError("Python 3.5+ is required")
    install_requires = [
        "aiohttp>=2.3.2",
        "lxml>=4.1.0",
        "cssselect>=1.0.1"
    ]
    tests_requires = install_requires + ["pytest", "pytest-aiohttp>=0.1.3"]
    setup(
        name="xpaw",
        version=read_version(),
        url="https://github.com/jadbin/xpaw",
{'fraction_non_alphanumeric': 0.16178458765209555, 'fraction_numerical': 0.016674177557458314, 'mean_word_length': 2.651315789473684, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '270517', 'n_tokens_mistral': 766, 'n_tokens_neox': 744, 'n_words': 153}