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

from wagtail import __version__
from wagtail.utils.setup import assets, check_bdist_egg, sdist


try:
    from setuptools import find_packages, setup
except ImportError:
    from distutils.core import setup


# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when setup.py exits
# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
    import multiprocessing  # noqa
except ImportError:
    pass


install_requires = [
    "Django>=2.2,<3.2",
    "django-modelcluster>=5.1,<6.0",
    "django-taggit>=1.0,<2.0",
    "django-treebeard>=4.2.0,<4.5",
    "djangorestframework>=3.11.1,<4.0",
    "django-filter>=2.2,<3.0",
    "draftjs_exporter>=2.1.5,<3.0",
    "Pillow>=4.0.0,<9.0.0",
    "beautifulsoup4>=4.8,<4.9",
    "html5lib>=0.999,<2",
    "Willow>=1.4,<1.5",
    "requests>=2.11.1,<3.0",
    "l18n>=2018.5",
    "xlsxwriter>=1.2.8,<2.0",
    "tablib[xls,xlsx]>=0.14.0",
    "anyascii>=0.1.5",
]

# Testing dependencies
testing_extras = [
    # Required for running the tests
    'python-dateutil>=2.2',
    'pytz>=2014.7',
    'elasticsearch>=5.0,<6.0',
    'Jinja2>=2.11,<3.0',
    'boto3>=1.16,<1.17',
    'freezegun>=0.3.8',
    'openpyxl>=2.6.4',
    'Unidecode>=0.04.14,<2.0',

    # For coverage and PEP8 linting
    'coverage>=3.7.0',<commit_msg>Unpin django-treebeard - allow all up to 5.0<commit_after>#!/usr/bin/env python

from wagtail import __version__
from wagtail.utils.setup import assets, check_bdist_egg, sdist


try:
    from setuptools import find_packages, setup
except ImportError:
    from distutils.core import setup


# Hack to prevent "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when setup.py exits
# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
    import multiprocessing  # noqa
except ImportError:
    pass


install_requires = [
    "Django>=2.2,<3.2",
    "django-modelcluster>=5.1,<6.0",
    "django-taggit>=1.0,<2.0",
    "django-treebeard>=4.2.0,<5.0,!=4.5",
    "djangorestframework>=3.11.1,<4.0",
    "django-filter>=2.2,<3.0",
    "draftjs_exporter>=2.1.5,<3.0",
    "Pillow>=4.0.0,<9.0.0",
    "beautifulsoup4>=4.8,<4.9",
    "html5lib>=0.999,<2",
    "Willow>=1.4,<1.5",
    "requests>=2.11.1,<3.0",
    "l18n>=2018.5",
    "xlsxwriter>=1.2.8,<2.0",
    "tablib[xls,xlsx]>=0.14.0",
    "anyascii>=0.1.5",
]

# Testing dependencies
testing_extras = [
    # Required for running the tests
    'python-dateutil>=2.2',
    'pytz>=2014.7',
    'elasticsearch>=5.0,<6.0',
    'Jinja2>=2.11,<3.0',
    'boto3>=1.16,<1.17',
    'freezegun>=0.3.8',
    'openpyxl>=2.6.4',
    'Unidecode>=0.04.14,<2.0',

    # For coverage and PEP8 linting
    'coverage>=3.7.0',
{'fraction_non_alphanumeric': 0.19742948946804711, 'fraction_numerical': 0.0935380221349518, 'mean_word_length': 3.4056603773584904, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '387269', 'n_tokens_mistral': 1311, 'n_tokens_neox': 1235, 'n_words': 181}