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

# psutil is distributed under BSD license.
# Copyright (c) 2009, <NAME>, <NAME>, <NAME>'
# All rights reserved.

import sys
import os
try:
    from setuptools import setup, Extension
except ImportError:
    from distutils.core import setup, Extension

__ver__ = "0.3.1"

# Hack for Python 3 to tell distutils to run 2to3 against the files
# copied in the build directory before installing.
# Reference: http://docs.python.org/dev/howto/pyporting.html#during-installation
try:
    from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
    from distutils.command.build_py import build_py


if os.name == 'posix':
    posix_extension = Extension('_psutil_posix',
                                sources = ['psutil/_psutil_posix.c'])


# Windows
if sys.platform.lower().startswith("win"):<commit_msg>removed LICENSE text committed by accident<commit_after>#!/usr/bin/env python
#
# $Id$

import sys
import os
try:
    from setuptools import setup, Extension
except ImportError:
    from distutils.core import setup, Extension

__ver__ = "0.3.1"

# Hack for Python 3 to tell distutils to run 2to3 against the files
# copied in the build directory before installing.
# Reference: http://docs.python.org/dev/howto/pyporting.html#during-installation
try:
    from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
    from distutils.command.build_py import build_py


if os.name == 'posix':
    posix_extension = Extension('_psutil_posix',
                                sources = ['psutil/_psutil_posix.c'])


# Windows
if sys.platform.lower().startswith("win"):
{'fraction_non_alphanumeric': 0.09915865384615384, 'fraction_numerical': 0.01201923076923077, 'mean_word_length': 3.7707736389684814, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '29530', 'n_tokens_mistral': 534, 'n_tokens_neox': 514, 'n_words': 153}