<commit_before>from distutils.core import setup
from distutils.extension import Extension
import os.path
import sys
if sys.platform == 'win32':
    include_dirs = [
        'C:/Program Files/boost/boost_1_33_1',
        '../activemq-cpp/src/main'
        ]
    boost_lib = 'boost_python-vc71-mt-1_33_1'
    libraries = [
        'activemq-cpp',
        'uuid',
        boost_lib,
        'ws2_32',
        'rpcrt4'
        ]
    boost_lib_dir = 'C:\\Program Files\\boost\\boost_1_33_1\\lib'
    library_dirs = [
        'win_build/release',
        boost_lib_dir
        ]
    data_files = [
        os.path.join(boost_lib_dir, boost_lib + '.dll')
        ]
    extra_compile_args = ['/GR', '/wd4290']
else:
    include_dirs = [
        '/usr/include',
        '../activemq-cpp/src/main'
        ]
    libraries = [
        'activemq-cpp',
        'uuid',
        'boost_python'
        ]
    library_dirs = [
        '/usr/lib',
        #'/path/to/amqcpp/lib'
        ]
    data_files = []
    extra_compile_args = []

import glob
files = glob.glob(os.path.join('src', 'main', '*.cpp'))

setup(name='pyactivemq',
      version='0.0.1',
      ext_modules=[
        Extension('pyactivemq',
                  files,
                  library_dirs=library_dirs,
                  libraries=libraries,
                  include_dirs=include_dirs,
                  extra_compile_args=extra_compile_args,
                  depends=[]),
        ],
      data_files=data_files)
<commit_msg>minor<commit_after>from distutils.core import setup
from distutils.extension import Extension
import os.path
import sys
if sys.platform == 'win32':
    include_dirs = [
        'C:/Program Files/boost/boost_1_33_1',
        '../activemq-cpp/src/main'
        ]
    boost_lib = 'boost_python-vc71-mt-1_33_1'
    libraries = [
        'activemq-cpp',
        'uuid',
        boost_lib,
        'ws2_32',
        'rpcrt4'
        ]
    boost_lib_dir = 'C:\\Program Files\\boost\\boost_1_33_1\\lib'
    library_dirs = [
        'win_build/release',
        boost_lib_dir
        ]
    data_files = [
        os.path.join(boost_lib_dir, boost_lib + '.dll')
        ]
    extra_compile_args = ['/GR', '/wd4290']
else:
    include_dirs = [
        '../activemq-cpp/src/main'
        ]
    libraries = [
        'activemq-cpp',
        'uuid',
        'boost_python'
        ]
    library_dirs = [
        #'/path/to/amqcpp/lib'
        ]
    data_files = []
    extra_compile_args = []

import glob
files = glob.glob(os.path.join('src', 'main', '*.cpp'))

setup(name='pyactivemq',
      version='0.0.1',
      ext_modules=[
        Extension('pyactivemq',
                  files,
                  library_dirs=library_dirs,
                  libraries=libraries,
                  include_dirs=include_dirs,
                  extra_compile_args=extra_compile_args,
                  depends=[]),
        ],
      data_files=data_files)

{'fraction_non_alphanumeric': 0.13109128345916266, 'fraction_numerical': 0.018531228551818806, 'mean_word_length': 1.7630331753554502, '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': '4563523', 'n_tokens_mistral': 994, 'n_tokens_neox': 970, 'n_words': 138}