<commit_before>#!/usr/bin/env python
from setuptools import setup, Extension, distutils

if distutils.ccompiler.get_default_compiler() == 'msvc':
    extra_compile_args = ['/openmp']
    extra_link_args = None
else:
    extra_compile_args = ['-fopenmp']
    extra_link_args = ['-fopenmp']

classifiers = [
        'Development Status :: 4 - Beta',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Topic :: Scientific/Engineering :: Physics',
        ]

setup(
    name='javelin',
    version='0.1.0',
    description='Disordered materials modelling and single crystal diffuse scattering calculator',
    long_description="""Javelin is inspired by DISCUS. It is written in python using modern
    tools, Matplotlib and VTK for plotting, pandas for storing the
    atomic structure and xarray for storing scattering simulations. It
    is designed to play well with other atomic structure analysis
    programs such as ASE and diffpy.

    The scope of javelin is limited to X-ray and neutron single
    crystal nuclear and magnetic diffuse scattering. It will have the
    ability to model disorered structure and refine the structure
    against experimental data.""",
    url='https://github.com/rosswhitfield/javelin',
    author='<NAME>',
    author_email='<EMAIL>',
    license='MIT',
    platforms='any',
    packages=['javelin'],
    classifiers=classifiers,
    ext_modules=[Extension('javelin.fourier_cython', ['javelin/fourier_cython.pyx'],
                           extra_compile_args=extra_compile_args,
                           extra_link_args=extra_link_args)]
)
<commit_msg>Update setup.py<commit_after>#!/usr/bin/env python
from setuptools import setup, Extension, distutils

if distutils.ccompiler.get_default_compiler() == 'msvc':
    extra_compile_args = ['/openmp']
    extra_link_args = None
else:
    extra_compile_args = ['-fopenmp']
    extra_link_args = ['-fopenmp']

classifiers = [
    'Development Status :: 4 - Beta',
    'Intended Audience :: Science/Research',
    'License :: OSI Approved :: MIT License',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2.7',
    'Programming Language :: Python :: 3',
    'Programming Language :: Python :: 3.4',
    'Programming Language :: Python :: 3.5',
    'Programming Language :: Python :: 3.6',
    'Topic :: Scientific/Engineering :: Physics',
]

install_requires = [
    'xarray>=0.9.0',
    'periodictable>=1.4.1',
    'h5py>=2.5.0'
]

setup(
    name='javelin',
    version='0.1.0',
    description='Disordered materials modelling and single crystal diffuse scattering calculator',
    long_description="""Javelin is inspired by DISCUS. It is written in python using modern
    tools, Matplotlib and VTK for plotting, pandas for storing the
    atomic structure and xarray for storing scattering simulations. It
    is designed to play well with other atomic structure analysis
    programs such as ASE and diffpy.

    The scope of javelin is limited to X-ray and neutron single
    crystal nuclear and magnetic diffuse scattering. It will have the
    ability to model disorered structure and refine the structure
    against experimental data.""",
    url='http://javelin.readthedocs.io',
    author='<NAME>',
    author_email='<EMAIL>',
    license='MIT',
    platforms='any',
    packages=['javelin'],
    classifiers=classifiers,
    install_requires=install_requires,
    setup_requires='Cython>=0.25.0',
    ext_modules=[Extension('javelin.fourier_cython', ['javelin/fourier_cython.pyx'],
                           extra_compile_args=extra_compile_args,
                           extra_link_args=extra_link_args)]
)

{'fraction_non_alphanumeric': 0.10979899497487437, 'fraction_numerical': 0.010050251256281407, 'mean_word_length': 3.346069868995633, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4563626', 'n_tokens_mistral': 1182, 'n_tokens_neox': 1130, 'n_words': 331}