<commit_before>#!/usr/bin/env python
import os
from setuptools import find_packages, setup


def get_requirements(requirements_file=None):
    """
    Return the contents of the 'requirements.txt' (without the comments)
    """
    if not requirements_file:
        requirements_file = os.path.abspath(
            os.path.join(os.path.dirname(__file__), "requirements.txt"))

    requirements = []
    for line in open(requirements_file).readlines():
        # Get rid of comments and empty lines
        if line.find("#") != -1:
            line = line[:line.find("#")]
        line = line.strip()
        if not line:
            continue

        # If we got "-r ..." , try to recursively get the requirements
        # for that file...
        if line.startswith("-r ") or line.startswith("-r\t"):
            nested_requirements_file = line[3:].strip()
            requirements += get_requirements(nested_requirements_file)
            continue
        else:
            # Add the requirement
            requirements.append(line)
    return requirements


setup(
    name="helot",
    description="Commonly reused functionality.",
    long_description="Impements configuration and mysql wrapper.",
    url="http://www.github.com/jpazarzis",
    author="<NAME>",
    install_requires=get_requirements(),
    packages=find_packages(),
    version='1.0.0',
)<commit_msg>Changing setup.py.<commit_after>#!/usr/bin/env python
from setuptools import find_packages, setup

setup(
    name="helot",
    description="Commonly reused functionality.",
    long_description="Impements configuration and mysql wrapper.",
    url="http://www.github.com/jpazarzis",
    author="<NAME>",
    install_requires=[
        "pyyaml",
        "mysqlclient",
        "coverage"
    ],
    packages=find_packages(),
    version='1.0.1',
)
{'fraction_non_alphanumeric': 0.12630422844590883, 'fraction_numerical': 0.004393190554640308, 'mean_word_length': 2.7412731006160165, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7668670', 'n_tokens_mistral': 524, 'n_tokens_neox': 518, 'n_words': 120}