<commit_before>from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy as np
import os


setup(name='Phantomas',
      description='A software phantom generation tool for diffusion MRI.',
      version='0.1.dev',
      author='<NAME>',
      author_email='<EMAIL>',
      url='http://www.emmanuelcaruyer.com/phantomas/',
      packages=['phantomas', 
                'phantomas.geometry', 
                'phantomas.mr_simul', 
                'phantomas.utils',
                'phantomas.visu'],
      package_data={'phantomas.mr_simul' : ["spherical_21_design.txt"]},
      scripts = [os.path.join('scripts', 'phantomas_struct'),
                 os.path.join('scripts', 'phantomas_dwis'),
                 os.path.join('scripts', 'phantomas_view')],
      cmdclass={'build_ext': build_ext},
      ext_modules=[Extension("phantomas.mr_simul.fast_volume_fraction",
                             sources=["phantomas/mr_simul/fast_volume_fraction.pyx",
                                      "phantomas/mr_simul/c_fast_volume_fraction.c"],
                             include_dirs=[np.get_include(), "/usr/local/include/"],
                             library_dirs=["/usr/lib/"],
                             libraries=["gsl", "gslcblas"])],
      )<commit_msg>Added script phantomas_rois in setup.py<commit_after>from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy as np
import os


setup(name='Phantomas',
      description='A software phantom generation tool for diffusion MRI.',
      version='0.1.dev',
      author='<NAME>',
      author_email='<EMAIL>',
      url='http://www.emmanuelcaruyer.com/phantomas/',
      packages=['phantomas', 
                'phantomas.geometry', 
                'phantomas.mr_simul', 
                'phantomas.utils',
                'phantomas.visu'],
      package_data={'phantomas.mr_simul' : ["spherical_21_design.txt"]},
      scripts = [os.path.join('scripts', 'phantomas_struct'),
                 os.path.join('scripts', 'phantomas_dwis'),
                 os.path.join('scripts', 'phantomas_rois'),
                 os.path.join('scripts', 'phantomas_view')],
      cmdclass={'build_ext': build_ext},
      ext_modules=[Extension("phantomas.mr_simul.fast_volume_fraction",
                             sources=["phantomas/mr_simul/fast_volume_fraction.pyx",
                                      "phantomas/mr_simul/c_fast_volume_fraction.c"],
                             include_dirs=[np.get_include(), "/usr/local/include/"],
                             library_dirs=["/usr/lib/"],
                             libraries=["gsl", "gslcblas"])],
      )
{'fraction_non_alphanumeric': 0.13335755813953487, 'fraction_numerical': 0.0029069767441860465, 'mean_word_length': 2.1753171856978084, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2153637', 'n_tokens_mistral': 805, 'n_tokens_neox': 781, 'n_words': 116}