<commit_before>from __future__ import print_function
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
from codecs import open
import io
import os
import sys

import golem


here = os.path.abspath(os.path.dirname(__file__))


def read(*filenames, **kwargs):
    encoding = kwargs.get('encoding', 'utf-8')
    sep = kwargs.get('sep', '\n')
    buf = []
    for filename in filenames:
        with io.open(filename, encoding=encoding) as f:
            buf.append(f.read())
    return sep.join(buf)


# long_description = read('README.md')


class PyTest(TestCommand):
    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = ['tests']
        self.test_suite = True

    def run_tests(self):
        import pytest
        errcode = pytest.main(self.test_args)
        sys.exit(errcode)


setup(
    name='golem',
    version=golem.__version__,
    description='Test automation framework for functional tests using Selenium',
    # long_description=long_description,
    url='https://github.com/lucianopuccio/golem',
    download_url = 'https://github.com/lucianopuccio/golem/archive/0.1.0a3.tar.gz',
    author='<NAME>',
    author_email='<EMAIL>',
    license='MIT',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Natural Language :: English',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Topic :: Software Development :: Quality Assurance',
        'Topic :: Software Development :: Testing',
        ],
    keywords='test automation framework selenium webdriver',
    packages=['golem'],
    setup_requires=['setuptools-pep8'],
    install_requires=['Flask==0.10.1',
                      'Flask-login==0.3.2',
                      'selenium==3.4.3'
                      ],
    tests_require=['pytest'],
    entry_points={
        'console_scripts': ['golem-admin = golem.bin.golem_admin:main']
    },
    cmdclass={'test': PyTest},
    include_package_data=True,
    platforms='any',
    test_suite='',
    extras_require={
        'testing': ['pytest'],
    }
)
<commit_msg>update setup<commit_after>from __future__ import print_function
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
from codecs import open
import io
import os
import sys

import golem


here = os.path.abspath(os.path.dirname(__file__))


def read(*filenames, **kwargs):
    encoding = kwargs.get('encoding', 'utf-8')
    sep = kwargs.get('sep', '\n')
    buf = []
    for filename in filenames:
        with io.open(filename, encoding=encoding) as f:
            buf.append(f.read())
    return sep.join(buf)


# long_description = read('README.md')


class PyTest(TestCommand):
    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = ['tests']
        self.test_suite = True

    def run_tests(self):
        import pytest
        errcode = pytest.main(self.test_args)
        sys.exit(errcode)


setup(
    name='golem-framework',
    version=golem.__version__,
    description='Test automation framework for functional tests using Selenium',
    # long_description=long_description,
    url='https://github.com/lucianopuccio/golem',
    download_url = 'https://github.com/lucianopuccio/golem/archive/0.1.0a3.tar.gz',
    author='<NAME>',
    author_email='<EMAIL>',
    license='MIT',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Natural Language :: English',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Topic :: Software Development :: Quality Assurance',
        'Topic :: Software Development :: Testing',
        ],
    keywords='test automation framework selenium webdriver',
    packages=['golem'],
    setup_requires=['setuptools-pep8'],
    install_requires=['Flask==0.10.1',
                      'Flask-login==0.3.2',
                      'selenium==3.4.3'
                      ],
    tests_require=['pytest'],
    entry_points={
        'console_scripts': ['golem-admin = golem.bin.golem_admin:main']
    },
    cmdclass={'test': PyTest},
    include_package_data=True,
    platforms='any',
    test_suite='',
    extras_require={
        'testing': ['pytest'],
    }
)

{'fraction_non_alphanumeric': 0.13470951266226858, 'fraction_numerical': 0.00978931687593105, 'mean_word_length': 2.8493038493038494, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '993334', 'n_tokens_mistral': 1474, 'n_tokens_neox': 1431, 'n_words': 303}