<commit_before>import subprocess
from setuptools import setup, find_packages
from setuptools.command import develop, build_py


def readme():
    with open('README.md') as f:
        return f.read()


class CustomDevelop(develop.develop):
    """
    Class needed for "pip install -e ."
    """
    def run(self):
        subprocess.check_call("make CC=gcc-8 CXX=g++-8", shell=True)
        super().run()


class CustomBuildPy(build_py.build_py):
    """
    Class needed for "pip install pys2p"
    """
    def run(self):
        super().run()
        subprocess.check_call("make", shell=True)
        subprocess.check_call("cp -r bin build/lib/", shell=True)


requirements = ['numpy',
                'scipy',
                'rasterio[s3]',
                'utm',
                'pyproj',<commit_msg>[bugfix] fix setup.py<commit_after>import subprocess
from setuptools import setup, find_packages
from setuptools.command import develop, build_py


def readme():
    with open('README.md') as f:
        return f.read()


class CustomDevelop(develop.develop, object):
    """
    Class needed for "pip install -e ."
    """
    def run(self):
        subprocess.check_call("make", shell=True)
        super(CustomDevelop, self).run()


class CustomBuildPy(build_py.build_py, object):
    """
    Class needed for "pip install pys2p"
    """
    def run(self):
        super(CustomBuildPy, self).run()
        subprocess.check_call("make", shell=True)
        subprocess.check_call("cp -r bin build/lib/", shell=True)


requirements = ['numpy',
                'scipy',
                'rasterio[s3]',
                'utm',
                'pyproj',
{'fraction_non_alphanumeric': 0.132486388384755, 'fraction_numerical': 0.003629764065335753, 'mean_word_length': 2.4602510460251046, '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': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '579099', 'n_tokens_mistral': 542, 'n_tokens_neox': 509, 'n_words': 121}