<commit_before># -*- coding: utf-8 -*-
"""
Based entirely on Django's own ``setup.py``.
"""
import sys

from setuptools import find_packages, setup

try:
    from setuptools.command.test import test as TestCommand

    class PyTest(TestCommand):
        user_options = [('pytest-args=', 'a', "Arguments to pass into py.test")]

        def initialize_options(self):
            TestCommand.initialize_options(self)
            self.pytest_args = []

        def finalize_options(self):
            TestCommand.finalize_options(self)
            self.test_args = []
            self.test_suite = True

        def run_tests(self):
            import pytest

            errno = pytest.main(self.pytest_args)
            sys.exit(errno)

except ImportError:
    PyTest = None


version = __import__('django_extensions_shell').__version__

setup(
    name='django-extensions-shell',
    version=version,
    description="Isolated shell_plus command from django-extensions",
    long_description="""Django Extensions Shell is the `shell_plus` command extracted from the excellent Django Extensions project into its
own project. In most projects I've been only using the `shell_plus` command and to me it feels much better to
only introduce a dependency on this specific code in projects then to depend on the whole Django Extensions project.
For more information: http://github.com/shanx/django-extensions-shell""",
    author='<NAME>',
    author_email='<EMAIL>',
    maintainer='<NAME>',
    maintainer_email='<EMAIL>',
    url='http://github.com/shanx/django-extensions-shell',
    license='MIT License',
    platforms=['any'],
    packages=find_packages(),
    cmdclass={'test': PyTest},
    install_requires=['six>=1.2'],
    tests_require=[
        'Django',
        'pytest',<commit_msg>removed long description<commit_after># -*- coding: utf-8 -*-
"""
Based entirely on Django's own ``setup.py``.
"""
import sys

from setuptools import find_packages, setup

try:
    from setuptools.command.test import test as TestCommand

    class PyTest(TestCommand):
        user_options = [('pytest-args=', 'a', "Arguments to pass into py.test")]

        def initialize_options(self):
            TestCommand.initialize_options(self)
            self.pytest_args = []

        def finalize_options(self):
            TestCommand.finalize_options(self)
            self.test_args = []
            self.test_suite = True

        def run_tests(self):
            import pytest

            errno = pytest.main(self.pytest_args)
            sys.exit(errno)

except ImportError:
    PyTest = None


version = __import__('django_extensions_shell').__version__

setup(
    name='django-extensions-shell',
    version=version,
    description="Isolated shell_plus command from django-extensions",
    author='<NAME>',
    author_email='<EMAIL>',
    maintainer='<NAME>',
    maintainer_email='<EMAIL>',
    url='http://github.com/shanx/django-extensions-shell',
    license='MIT License',
    platforms=['any'],
    packages=find_packages(),
    cmdclass={'test': PyTest},
    install_requires=['six>=1.2'],
    tests_require=[
        'Django',
        'pytest',
{'fraction_non_alphanumeric': 0.12, 'fraction_numerical': 0.0019047619047619048, 'mean_word_length': 3.118954248366013, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '2902059', 'n_tokens_mistral': 915, 'n_tokens_neox': 914, 'n_words': 218}