<commit_before>from __future__ import absolute_import, division, print_function

from virtualenv.__about__ import (
    __author__, __copyright__, __email__, __license__, __summary__, __title__,
    __uri__, __version__
)
from virtualenv.core import create


__all__ = [
    "__title__", "__summary__", "__uri__", "__version__", "__author__",
    "__email__", "__license__", "__copyright__",
    "create",
]
<commit_msg>Add a backwards compatible create_environment.<commit_after>from __future__ import absolute_import, division, print_function

from virtualenv.__about__ import (
    __author__, __copyright__, __email__, __license__, __summary__, __title__,
    __uri__, __version__
)
from virtualenv.core import create


def create_environment(
    home_dir,
    site_packages=False, clear=False,
    unzip_setuptools=False,
    prompt=None, search_dirs=None, never_download=False,
    no_setuptools=False, no_pip=False, symlink=True
):
    create(
        home_dir,
        system_site_packages=site_packages,
        clear=clear,
        prompt=prompt or "",
        extra_search_dirs=search_dirs,
        setuptools=not no_setuptools,
        pip=not no_pip
    )

__all__ = [
    "__title__", "__summary__", "__uri__", "__version__", "__author__",
    "__email__", "__license__", "__copyright__",
    "create",
]

{'fraction_non_alphanumeric': 0.09848484848484848, 'fraction_numerical': 0.0, 'mean_word_length': 4.527196652719665, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2936049', 'n_tokens_mistral': 404, 'n_tokens_neox': 415, 'n_words': 89}