<commit_before>from setuptools import setup, Extension
import os
import shutil
from sys import platform

if platform == 'linux' or platform == 'linux2':
    EXT = '.so'
else:
    EXT = '.dylib'

SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
ROOT_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, '..'))
BUILD_DIR = os.path.join(ROOT_DIR, 'build')
PIP_DIR = os.path.join(BUILD_DIR, 'pip')
SO_PATH = os.path.join(BUILD_DIR, 'libstorehouse' + EXT)
DEST_PATH = os.path.abspath('{p:s}/lib/libstorehouse{e:s}'.format(p=PIP_DIR,
                                                                  e=EXT))
#shutil.copyfile(SO_PATH, DEST_PATH)

module1 = Extension(
    'storehouse._python',
    include_dirs = [ROOT_DIR, os.path.join(ROOT_DIR, 'build')],
    libraries = ['storehouse'],
    library_dirs = [os.path.join(ROOT_DIR, 'build')],
    sources = [os.path.join(ROOT_DIR, 'storehouse/storehouse_python.cpp')],
    extra_compile_args=['-std=c++11'])

setup(
    name='storehouse',
    version='0.6.2',
    url='https://github.com/scanner-research/storehouse',
    author='<NAME> and <NAME>',
    author_email='<EMAIL>',
    packages=['storehouse'],
    license='Apache 2.0',
    ext_modules=[module1],
)<commit_msg>Bump version<commit_after>from setuptools import setup, Extension
import os
import shutil
from sys import platform

if platform == 'linux' or platform == 'linux2':
    EXT = '.so'
else:
    EXT = '.dylib'

SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
ROOT_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, '..'))
BUILD_DIR = os.path.join(ROOT_DIR, 'build')
PIP_DIR = os.path.join(BUILD_DIR, 'pip')
SO_PATH = os.path.join(BUILD_DIR, 'libstorehouse' + EXT)
DEST_PATH = os.path.abspath('{p:s}/lib/libstorehouse{e:s}'.format(p=PIP_DIR,
                                                                  e=EXT))
#shutil.copyfile(SO_PATH, DEST_PATH)

module1 = Extension(
    'storehouse._python',
    include_dirs = [ROOT_DIR, os.path.join(ROOT_DIR, 'build')],
    libraries = ['storehouse'],
    library_dirs = [os.path.join(ROOT_DIR, 'build')],
    sources = [os.path.join(ROOT_DIR, 'storehouse/storehouse_python.cpp')],
    extra_compile_args=['-std=c++11'])

setup(
    name='storehouse',
    version='0.6.3',
    url='https://github.com/scanner-research/storehouse',
    author='<NAME> and <NAME>',
    author_email='<EMAIL>',
    packages=['storehouse'],
    license='Apache 2.0',
    ext_modules=[module1],
)
{'fraction_non_alphanumeric': 0.1690603200656545, 'fraction_numerical': 0.008206811653672548, 'mean_word_length': 3.582706766917293, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3986986', 'n_tokens_mistral': 893, 'n_tokens_neox': 883, 'n_words': 143}