<commit_before>#!/usr/bin/env python

from distutils.core import setup
from Cython.Build import cythonize
import numpy as np

setup(name='pyhawkes',
      version='0.1',
      description='Bayesian inference for network Hawkes processes',
      author='<NAME>',
      author_email='<EMAIL>',
      url='http://www.github.com/slinderman/pyhawkes',
      ext_modules=cythonize('**/*.pyx'),
      include_dirs=[np.get_include(),],
     )<commit_msg>adding openmp to setup script<commit_after>#!/usr/bin/env python

from distutils.core import setup
from Cython.Build import cythonize
import numpy as np

extra_compile_args = ['-fopenmp']
extra_link_args    = ['-fopenmp']

ext_modules = cythonize('**/*.pyx')
for e in ext_modules:
    e.extra_compile_args.extend(extra_compile_args)
    e.extra_link_args.extend(extra_link_args)

setup(name='pyhawkes',
      version='0.1',
      description='Bayesian inference for network Hawkes processes',
      author='<NAME>',
      author_email='<EMAIL>',
      url='http://www.github.com/slinderman/pyhawkes',
      ext_modules=ext_modules,
      include_dirs=[np.get_include(),],
     )
{'fraction_non_alphanumeric': 0.1387900355871886, 'fraction_numerical': 0.0035587188612099642, 'mean_word_length': 4.090497737556561, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5718167', 'n_tokens_mistral': 376, 'n_tokens_neox': 372, 'n_words': 70}