<commit_before>from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand

import io
import codecs
import os
import sys

import flask_nicely

class PyTest(TestCommand):
    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.test_args)
        sys.exit(errno)

long_description = """
Flask-Nicely consists of a simple decorator with which to wrap Flask
functions that return data in order to turn them into pretty, consistent
JSON responses. It also provides several built in HTTP exceptions which can
be raised in a Flask function in order to return the corresponding HTTP
error response.

Docs can be found at http://flask-nicely.readthedocs.org/
"""

setup(
    name='Flask-Nicely',
    version=flask_nicely.__version__,
    url='http://github.com/jwpe/flask-nicely/',
    license='BSD',
    author='<NAME>',
    author_email='<EMAIL>',
    description='Pretty Flask JSON responses for API building.',
    long_description=long_description,
    packages=['flask_nicely'],
    install_requires = ['Flask'],
    include_package_data=True,
    platforms='any',
    classifiers = [
        'Programming Language :: Python',
        'Development Status :: 4 - Beta',
        'Natural Language :: English',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        ],
    tests_require=['pytest', 'Flask-Testing'],
    test_suite='test',
    cmdclass = {'test': PyTest},
)<commit_msg>Changed the order of something in setup.py to try to get it to install correctly.<commit_after>from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand

import io
import codecs
import os
import sys

import flask_nicely

class PyTest(TestCommand):
    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.test_args)
        sys.exit(errno)

long_description = """
Flask-Nicely consists of a simple decorator with which to wrap Flask
functions that return data in order to turn them into pretty, consistent
JSON responses. It also provides several built in HTTP exceptions which can
be raised in a Flask function in order to return the corresponding HTTP
error response.

Docs can be found at http://flask-nicely.readthedocs.org/
"""

setup(
    name='Flask-Nicely',
    version=flask_nicely.__version__,
    url='http://github.com/jwpe/flask-nicely/',
    license='BSD',
    author='<NAME>',
    author_email='<EMAIL>',
    description='Pretty Flask JSON responses for API building.',
    long_description=long_description,
    install_requires = ['Flask'],
    packages=['flask_nicely'],
    include_package_data=True,
    platforms='any',
    classifiers = [
        'Programming Language :: Python',
        'Development Status :: 4 - Beta',
        'Natural Language :: English',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        ],
    tests_require=['pytest', 'Flask-Testing'],
    test_suite='test',
    cmdclass = {'test': PyTest},
)
{'fraction_non_alphanumeric': 0.10469867211440245, 'fraction_numerical': 0.0005107252298263534, 'mean_word_length': 3.3961840628507294, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3119286', 'n_tokens_mistral': 1103, 'n_tokens_neox': 1079, 'n_words': 338}