<commit_before>from distutils.core import setup, Extension
import os

library_dirs = [x for x in os.getenv('LD_LIBRARY_PATH', '').split(':') if len(x) > 0]

setup(
    name        = 'aerospike-client-python', 
    version     = '1.0', 
    ext_modules = [
      Extension( 'aerospike', 
        [ 
          'src/main/aerospike.c', 
          'src/main/client.c',
          'src/main/client/close.c',
          'src/main/client/connect.c',
          'src/main/client/info.c',
          'src/main/client/key.c',
          'src/main/client/query.c',
          'src/main/client/scan.c',
          'src/main/conversions.c',
          'src/main/key.c',
          'src/main/key/apply.c',
          'src/main/key/exists.c',
          'src/main/key/get.c',
          'src/main/key/put.c',
          'src/main/key/remove.c',
          'src/main/query.c',
          'src/main/query/apply.c',
          'src/main/query/foreach.c',
          'src/main/query/results.c',
          'src/main/query/select.c',
          'src/main/query/where.c',
          'src/main/scan.c',
          'src/main/scan/foreach.c',
          'src/main/scan/results.c',
        ], 
        include_dirs = [ 
          'src/include',
        ],
        library_dirs = library_dirs,
        libraries = [ 
          'ssl',
          'crypto',
          'pthread',
          'm',
          'rt',
          'lua',
          'aerospike'
        ],
        extra_objects = [
          # '/usr/lib/libaerospike.a'
        ],
        extra_compile_args = [
          '-std=gnu99', '-g', '-rdynamic', '-Wall',
          '-fno-common', '-fno-strict-aliasing', '-fPIC',
          '-D_FILE_OFFSET_BITS=64', '-D_REENTRANT', '-D_GNU_SOURCE'
        ]
      )
    ]
  )
<commit_msg>Kinda forcing Python client to require 64-bit.<commit_after>from distutils.core import setup, Extension
import os

library_dirs = [x for x in os.getenv('LD_LIBRARY_PATH', '').split(':') if len(x) > 0]

setup(
    name        = 'aerospike-client-python', 
    version     = '1.0', 
    ext_modules = [
      Extension( 'aerospike', 
        [ 
          'src/main/aerospike.c', 
          'src/main/client.c',
          'src/main/client/close.c',
          'src/main/client/connect.c',
          'src/main/client/info.c',
          'src/main/client/key.c',
          'src/main/client/query.c',
          'src/main/client/scan.c',
          'src/main/conversions.c',
          'src/main/key.c',
          'src/main/key/apply.c',
          'src/main/key/exists.c',
          'src/main/key/get.c',
          'src/main/key/put.c',
          'src/main/key/remove.c',
          'src/main/query.c',
          'src/main/query/apply.c',
          'src/main/query/foreach.c',
          'src/main/query/results.c',
          'src/main/query/select.c',
          'src/main/query/where.c',
          'src/main/scan.c',
          'src/main/scan/foreach.c',
          'src/main/scan/results.c',
        ], 
        include_dirs = [ 
          'src/include',
        ],
        library_dirs = library_dirs,
        libraries = [ 
          'ssl',
          'crypto',
          'pthread',
          'm',
          'rt',
          'lua',
          'aerospike'
        ],
        extra_objects = [
          # '/usr/lib/libaerospike.a'
        ],
        extra_compile_args = [
          '-std=gnu99', '-g', '-rdynamic', '-Wall',
          '-fno-common', '-fno-strict-aliasing', '-fPIC',
          '-D_FILE_OFFSET_BITS=64', '-D_REENTRANT', '-D_GNU_SOURCE', 
          '-DMARCH_x86_64'
        ]
      )
    ]
  )

{'fraction_non_alphanumeric': 0.17366628830874006, 'fraction_numerical': 0.0056753688989784334, 'mean_word_length': 1.437759336099585, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3119238', 'n_tokens_mistral': 1264, 'n_tokens_neox': 1224, 'n_words': 155}