<commit_before>from setuptools import setup, find_packages, Extension, dist
from sysconfig import get_config_vars
import numpy as np
import sys
import os
from ctypes.util import find_library

name = 'sqaod'
version = '1.0.0'

npinclude = np.get_include()

(opt,) = get_config_vars('OPT')
os.environ['OPT'] = " ".join(
    flag for flag in opt.split() if flag != '-Wstrict-prototypes'
)


def extension(pkg, name) :
    ext = Extension('sqaod/{}/{}'.format(pkg, name),
                    include_dirs = [npinclude],
                    libraries = ['sqaodc'],
                    library_dirs = ['/usr/lib', 'sqaod/{}'.format(pkg)],
                    sources = ['sqaod/{}/src/{}.cpp'.format(pkg, name)],
                    extra_compile_args = ['-std=c++11', '-Wno-format-security'])
    return ext

def cuda_extension(pkg, name) :
    ext = Extension('sqaod/{}/{}'.format(pkg, name),
                    include_dirs = [npinclude],
                    libraries = ['sqaodc_cuda', 'sqaodc'],
                    library_dirs = ['/usr/lib', 'sqaod/{}'.format(pkg)],
                    sources = ['sqaod/{}/src/{}.cpp'.format(pkg, name)],<commit_msg>Updating installer version to 1.0.1.<commit_after>from setuptools import setup, find_packages, Extension, dist
from sysconfig import get_config_vars
import numpy as np
import sys
import os
from ctypes.util import find_library

name = 'sqaod'
version = '1.0.1'

npinclude = np.get_include()

(opt,) = get_config_vars('OPT')
os.environ['OPT'] = " ".join(
    flag for flag in opt.split() if flag != '-Wstrict-prototypes'
)


def extension(pkg, name) :
    ext = Extension('sqaod/{}/{}'.format(pkg, name),
                    include_dirs = [npinclude],
                    libraries = ['sqaodc'],
                    library_dirs = ['/usr/lib', 'sqaod/{}'.format(pkg)],
                    sources = ['sqaod/{}/src/{}.cpp'.format(pkg, name)],
                    extra_compile_args = ['-std=c++11', '-Wno-format-security'])
    return ext

def cuda_extension(pkg, name) :
    ext = Extension('sqaod/{}/{}'.format(pkg, name),
                    include_dirs = [npinclude],
                    libraries = ['sqaodc_cuda', 'sqaodc'],
                    library_dirs = ['/usr/lib', 'sqaod/{}'.format(pkg)],
                    sources = ['sqaod/{}/src/{}.cpp'.format(pkg, name)],
{'fraction_non_alphanumeric': 0.16802750322303395, 'fraction_numerical': 0.00558659217877095, 'mean_word_length': 2.4035087719298245, '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': '4071482', 'n_tokens_mistral': 768, 'n_tokens_neox': 737, 'n_words': 161}