<commit_before>from setuptools import setup
import distutils
from distutils.extension import Extension
import os.path
import sys

extra_compile_args = ["-DDLLX="]
extra_link_args = []
define_macros = []
runtime_library_dirs = []

if sys.platform == "win32":
	if sys.maxsize > 2**32: #64-bit
		print "Building windows application 'leveldb_mcpe' x64"
		include_dirs = ["C:/boost_1_55_0","./leveldb-mcpe/include"]
		library_dirs=["C:/boost_1_55_0/stage/lib","."]
		libraries=["leveldb-mcpe", "shell32", "zlib"]
		extra_compile_args += ["/EHs","/MDd"]
		extra_link_args += ["/MACHINE:x64", "/NODEFAULTLIB:LIBCMT"]
		define_macros = [("WIN32", None),("_DEBUG", None),("_WINDOWS", None),("LEVELDB_PLATFORM_WINDOWS", None),("OS_WIN", None)]
	else: #32-bit
		print "Building windows application 'leveldb_mcpe' x32"
		include_dirs = ["C:/Boost/include/boost-1_55","./leveldb-mcpe/include"]
		library_dirs=["C:/Boost/lib/i386","."]
		libraries=["leveldb-mcpe", "shell32"]
		extra_compile_args += ["/EHs","/MDd","/Zi","-DZLIB_WINAPI"]
		extra_link_args += ["/MACHINE:x86","/NODEFAULTLIB:LIBCMT"]
		define_macros = [("WIN32", None),("_DEBUG", None),("_WINDOWS", None),("LEVELDB_PLATFORM_WINDOWS", None),("OS_WIN", None)]


elif sys.platform == "darwin":
  include_dirs = ["/usr/local/include/boost", "./leveldb-mcpe/include", "."]
  library_dirs = ["/usr/local/lib", ".", "./leveldb-mcpe"]
  libraries = ["boost_python", "leveldb"]
<commit_msg>Updated setup.py for x32 and x64 non-debug<commit_after>from setuptools import setup
import distutils
from distutils.extension import Extension
import os.path
import sys

extra_compile_args = ["-DDLLX="]
extra_link_args = []
define_macros = []
runtime_library_dirs = []

if sys.platform == "win32":
	if sys.maxsize > 2**32: #64-bit
		print "Building windows application 'leveldb_mcpe' x64"
		include_dirs = ["C:/Boost/include/boost-1_55","./leveldb-mcpe/include"]
		library_dirs=["C:/Boost/lib/x64","."]
		libraries=["leveldb-mcpe", "shell32", "zlib"]
		extra_compile_args += ["/EHs","/MD"]
		extra_link_args += ["/MACHINE:x64", "/NODEFAULTLIB:LIBCMT"]
		define_macros = [("WIN32", None),("_WINDOWS", None),("LEVELDB_PLATFORM_WINDOWS", None),("OS_WIN", None)]
	else: #32-bit
		print "Building windows application 'leveldb_mcpe' x32"
		include_dirs = ["C:/Boost/include/boost-1_55","./leveldb-mcpe/include"]
		library_dirs=["C:/Boost/lib/i386","."]
		libraries=["leveldb-mcpe", "shell32","zlib"]
		extra_compile_args += ["/EHs","/MD"]
		extra_link_args += ["/MACHINE:x86","/NODEFAULTLIB:LIBCMT"]
		define_macros = [("WIN32", None),("_WINDOWS", None),("LEVELDB_PLATFORM_WINDOWS", None),("OS_WIN", None)]


elif sys.platform == "darwin":
  include_dirs = ["/usr/local/include/boost", "./leveldb-mcpe/include", "."]
  library_dirs = ["/usr/local/lib", ".", "./leveldb-mcpe"]
  libraries = ["boost_python", "leveldb"]

{'fraction_non_alphanumeric': 0.2031634446397188, 'fraction_numerical': 0.027768014059753956, 'mean_word_length': 5.776190476190476, 'pattern_counts': {'":': 4, '<': 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': '2091668', 'n_tokens_mistral': 1169, 'n_tokens_neox': 1086, 'n_words': 176}