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

from distutils.core import setup
from distutils.core import Extension

fte_cDFA = Extension('fte.cDFA',
                     include_dirs=['fte',
                                   'thirdparty/re2',
                                   '/usr/local/include'],
                     library_dirs=['thirdparty/re2/obj',
                                   '/usr/local/lib'],
                     extra_compile_args=['-O3',
                                         '-fstack-protector-all',
                                         '-D_FORTIFY_SOURCE',
                                         '-fPIE',
                                         ],
                     extra_link_args=['-fPIC',
                                      'thirdparty/re2/obj/libre2.a'
                                      ],
                     libraries=['gmp',
                                'gmpxx',
                                're2',
                                'boost_python',
                                'boost_system',
                                'boost_filesystem',
                                'python2.7',
                                ],
                     sources=['fte/cDFA.cc'])

setup(name='Format-Transforming Encrypion (FTE)',
      version='0.2.0',<commit_msg>Issue #80: can't file libboost<commit_after>#!/usr/bin/env python

from distutils.core import setup
from distutils.core import Extension

import os

if os.name=='nt':
    boost_libs = ['boost_python-mt','boost_system-mt','boost_filesystem-mt']
else:
    boost_libs = ['boost_python','boost_system','boost_filesystem']
    
fte_cDFA = Extension('fte.cDFA',
                     include_dirs=['fte',
                                   'thirdparty/re2',
                                   '/usr/local/include'],
                     library_dirs=['thirdparty/re2/obj',
                                   '/usr/local/lib'],
                     extra_compile_args=['-O3',
                                         '-fstack-protector-all',
                                         '-D_FORTIFY_SOURCE',
                                         '-fPIE',
                                         ],
                     extra_link_args=['-fPIC',
                                      'thirdparty/re2/obj/libre2.a'
                                      ],
                     libraries=['gmp',
                                'gmpxx',
                                're2',
                                'python2.7',
                                ]+boost_libs,
                     sources=['fte/cDFA.cc'])

setup(name='Format-Transforming Encrypion (FTE)',
      version='0.2.0',
{'fraction_non_alphanumeric': 0.1068901303538175, 'fraction_numerical': 0.008938547486033519, 'mean_word_length': 0.811193526635199, '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': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1281925', 'n_tokens_mistral': 662, 'n_tokens_neox': 622, 'n_words': 80}