<commit_before>from numpy.distutils.core import setup
from numpy.distutils.misc_util import Configuration
from numpy.distutils.system_info import get_info
from os.path import join

flags = ['-W', '-Wall', '-march=opteron', '-O3']

def configuration(parent_package='', top_path=None):
    config = Configuration('scattering', parent_package, top_path,
        author = '<NAME>',
        author_email = '<EMAIL>',
        platforms = ['Linux'],
        description = 'Software for simulating weather radar data.',
        url = 'http://weather.ou.edu/~rmay/research.html')
    
    lapack = get_info('lapack_opt')
    sources = ['ampld.lp.pyf', 'ampld.lp.f', 'modified_double_precision_drop.f']
    config.add_extension('_tmatrix', [join('src', f) for f in sources],
        extra_compile_args=flags, **lapack)
    return config

setup(**configuration(top_path='').todict())<commit_msg>Add a version number for scattering.<commit_after>from numpy.distutils.core import setup
from numpy.distutils.misc_util import Configuration
from numpy.distutils.system_info import get_info
from os.path import join

flags = ['-W', '-Wall', '-march=opteron', '-O3']

def configuration(parent_package='', top_path=None):
    config = Configuration('scattering', parent_package, top_path,
        version='0.8',
        author = '<NAME>',
        author_email = '<EMAIL>',
        platforms = ['Linux'],
        description = 'Software for simulating weather radar data.',
        url = 'http://weather.ou.edu/~rmay/research.html')
    
    lapack = get_info('lapack_opt')
    sources = ['ampld.lp.pyf', 'ampld.lp.f', 'modified_double_precision_drop.f']
    config.add_extension('_tmatrix', [join('src', f) for f in sources],
        extra_compile_args=flags, **lapack)
    return config

setup(**configuration(top_path='').todict())
{'fraction_non_alphanumeric': 0.14773980154355015, 'fraction_numerical': 0.002205071664829107, 'mean_word_length': 4.055710306406685, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5114501', 'n_tokens_mistral': 564, 'n_tokens_neox': 553, 'n_words': 127}