<commit_before>"""
    Setup for SansView
    #TODO: Add checks to see that all the dependencies are on the system
"""
import sys
import os
#from distutils.core import setup, Extension
from setuptools import setup, Extension, find_packages

if sys.platform is not 'win32':
    try:
        from numpy.distutils.misc_util import get_numpy_include_dirs
        NUMPY_INC = get_numpy_include_dirs()[0]
    except:
        try:
            import numpy
            NUMPY_INC = os.path.join(os.path.split(numpy.__file__)[0],"core","include")
        except:
            print "\nNumpy is needed to build SansView. Try easy_install numpy.\n  %s" % str(sys.exc_value)
            sys.exit(0)
else:
    v_info = sys.version_info
    NUMPY_INC = os.path.join("C:\\python%1g%1g\\Lib\\site-packages\\numpy\\core\\include" % (v_info[0], v_info[1]))

package_dir = {}
package_data = {}
packages = []
ext_modules = []<commit_msg>Re #5 fixing windows build<commit_after>"""
    Setup for SansView
    #TODO: Add checks to see that all the dependencies are on the system
"""
import sys
import os
#from distutils.core import setup, Extension
from setuptools import setup, Extension, find_packages
try:
    from numpy.distutils.misc_util import get_numpy_include_dirs
    NUMPY_INC = get_numpy_include_dirs()[0]
except:
    try:
        import numpy
        NUMPY_INC = os.path.join(os.path.split(numpy.__file__)[0],"core","include")
    except:
        print "\nNumpy is needed to build SansView. Try easy_install numpy.\n  %s" % str(sys.exc_value)
        sys.exit(0)

package_dir = {}
package_data = {}
packages = []
ext_modules = []
{'fraction_non_alphanumeric': 0.11186650185414092, 'fraction_numerical': 0.008034610630407911, 'mean_word_length': 3.2830687830687832, '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': '6211104', 'n_tokens_mistral': 547, 'n_tokens_neox': 529, 'n_words': 142}