<commit_before>from distutils.core import Extension
from os.path import dirname, join


def get_extensions():
    ROOT = dirname(__file__)

    return [
        Extension('astropy.utils._compiler',
                  [join(ROOT, 'src', 'compiler.c')])<commit_msg>Make sure to use the relative path for all C extension source files.  Otherwise distuils' MSVC compiler generates some potentially long (too long for Windows) pathnames in the build\temp dir for various compiler artifacts.  (This was particularly problematic in Jenkins, where having multiple configuration matrix axes can make for long path names.)<commit_after>from distutils.core import Extension
from os.path import dirname, join, relpath


def get_extensions():
    ROOT = dirname(__file__)

    return [
        Extension('astropy.utils._compiler',
                  [relpath(join(ROOT, 'src', 'compiler.c'))])
{'fraction_non_alphanumeric': 0.08542141230068337, 'fraction_numerical': 0.0, 'mean_word_length': 3.856353591160221, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7366098', 'n_tokens_mistral': 230, 'n_tokens_neox': 217, 'n_words': 87}