<commit_before>"""Cloud browser package."""
from __future__ import with_statement
import os
from sys import version_info

from setuptools import setup, find_packages

from cloud_browser import __version__

###############################################################################
# Environment and Packages.
###############################################################################
# Don't copy Mac OS X resource forks on tar/gzip.
os.environ["COPYFILE_DISABLE"] = "true"

# Packages.
MOD_NAME = "cloud_browser"
PKGS = [x for x in find_packages() if x.split(".")[0] == MOD_NAME]

TEST_DEPENDENCIES = [
    "Django==1.8.0",
    "boto==2.48.0",
    "Fabric3",
    "pylint",
    "flake8",
    "Sphinx",
    "sphinx-bootstrap-theme",
    "twine",
]

if version_info >= (3, 6, 0):
    TEST_DEPENDENCIES.append("black")


###############################################################################
# Helpers.
###############################################################################
def read_file(name):
    """Read file name (without extension) to string."""
    cur_path = os.path.dirname(__file__)
    exts = ("txt", "rst")
    for ext in exts:<commit_msg>Ensure libcloud docs can be generated<commit_after>"""Cloud browser package."""
from __future__ import with_statement
import os
from sys import version_info

from setuptools import setup, find_packages

from cloud_browser import __version__

###############################################################################
# Environment and Packages.
###############################################################################
# Don't copy Mac OS X resource forks on tar/gzip.
os.environ["COPYFILE_DISABLE"] = "true"

# Packages.
MOD_NAME = "cloud_browser"
PKGS = [x for x in find_packages() if x.split(".")[0] == MOD_NAME]

TEST_DEPENDENCIES = [
    "Django==1.8.0",
    "boto==2.48.0",
    "apache-libcloud==2.4.0",
    "Fabric3",
    "pylint",
    "flake8",
    "Sphinx",
    "sphinx-bootstrap-theme",
    "twine",
]

if version_info >= (3, 6, 0):
    TEST_DEPENDENCIES.append("black")


###############################################################################
# Helpers.
###############################################################################
def read_file(name):
    """Read file name (without extension) to string."""
    cur_path = os.path.dirname(__file__)
    exts = ("txt", "rst")
    for ext in exts:
{'fraction_non_alphanumeric': 0.36772046589018303, 'fraction_numerical': 0.012063227953410981, 'mean_word_length': 5.5, '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': '3760153', 'n_tokens_mistral': 713, 'n_tokens_neox': 686, 'n_words': 169}