<commit_before>#!/usr/bin/env python
import os
import sys

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

version = "1.2"

if sys.argv[-1] == "publish":
    try:
        import wheel  # noqa
    except ImportError:
        print('Wheel library missing. Please run "pip install wheel"')
        sys.exit()
    os.system("python setup.py sdist upload")
    os.system("python setup.py bdist_wheel upload")
    sys.exit()

if sys.argv[-1] == "tag":
    print("Tagging the version on github:")
    os.system(f"git tag -a {version} -m 'version {version}'")
    os.system("git push --tags")
    sys.exit()

readme = open("README.rst").read()

setup(
    name="django-functest",
    version=version,
    description="""Helpers for creating functional tests in Django, with a unified API for WebTest and Selenium tests.""",  # noqa
    long_description=readme,
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/django-functest/django-functest",
    packages=[
        "django_functest",
    ],
    python_requires=">=3.6",
    include_package_data=True,
    install_requires=[<commit_msg>setup.py fix for dropping Python 3.6<commit_after>#!/usr/bin/env python
import os
import sys

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

version = "1.2"

if sys.argv[-1] == "publish":
    try:
        import wheel  # noqa
    except ImportError:
        print('Wheel library missing. Please run "pip install wheel"')
        sys.exit()
    os.system("python setup.py sdist upload")
    os.system("python setup.py bdist_wheel upload")
    sys.exit()

if sys.argv[-1] == "tag":
    print("Tagging the version on github:")
    os.system(f"git tag -a {version} -m 'version {version}'")
    os.system("git push --tags")
    sys.exit()

readme = open("README.rst").read()

setup(
    name="django-functest",
    version=version,
    description="""Helpers for creating functional tests in Django, with a unified API for WebTest and Selenium tests.""",  # noqa
    long_description=readme,
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/django-functest/django-functest",
    packages=[
        "django_functest",
    ],
    python_requires=">=3.7",
    include_package_data=True,
    install_requires=[
{'fraction_non_alphanumeric': 0.13887698242606086, 'fraction_numerical': 0.006000857265323617, 'mean_word_length': 3.2747252747252746, 'pattern_counts': {'":': 4, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '579186', 'n_tokens_mistral': 765, 'n_tokens_neox': 743, 'n_words': 196}