<commit_before>import re
import sys

from setuptools import setup, Command, find_packages


INIT_FILE = 'bucketcache/__init__.py'
init_data = open(INIT_FILE).read()

metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", init_data))

AUTHOR_EMAIL = metadata['author']
VERSION = metadata['version']
LICENSE = metadata['license']
DESCRIPTION = metadata['description']

AUTHOR, EMAIL = re.match(r'(.*) <(.*)>', AUTHOR_EMAIL).groups()

requires = ['boltons', 'decorator', 'logbook', 'python-dateutil',
            'represent>=1.3.0', 'six>=1.9.0']
if sys.version_info[:2] < (3, 4):
    requires.append('pathlib')

extras_require = {}
extras_require.update(
    test=[
        'msgpack-python',
        'pytest',
        'pytest-benchmark',
        'pytest-cov',
        'pytest-xdist',
    ])

if sys.version_info < (3, 3):
    extras_require['test'].append('mock')

extras_require.update(
    dev=[
        'clint',
        'packaging',
        'shovel',
        'sphinx',
        'twine',
    ] + extras_require['test'])


class PyTest(Command):
    """Allow 'python setup.py test' to run without first installing pytest"""
    user_options = []

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        import subprocess
        import sys
        errno = subprocess.call([sys.executable, 'runtests.py'])
        raise SystemExit(errno)

setup(
    name='BucketCache',
    version=VERSION,
    description=DESCRIPTION,
    long_description=open('README').read(),
    author=AUTHOR,
    author_email=EMAIL,
    url='https://github.com/RazerM/bucketcache',
    packages=find_packages(),
    cmdclass={'test': PyTest},
    classifiers=[
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: MIT License',<commit_msg>Upgrade development status to beta.<commit_after>import re
import sys

from setuptools import setup, Command, find_packages


INIT_FILE = 'bucketcache/__init__.py'
init_data = open(INIT_FILE).read()

metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", init_data))

AUTHOR_EMAIL = metadata['author']
VERSION = metadata['version']
LICENSE = metadata['license']
DESCRIPTION = metadata['description']

AUTHOR, EMAIL = re.match(r'(.*) <(.*)>', AUTHOR_EMAIL).groups()

requires = ['boltons', 'decorator', 'logbook', 'python-dateutil',
            'represent>=1.3.0', 'six>=1.9.0']
if sys.version_info[:2] < (3, 4):
    requires.append('pathlib')

extras_require = {}
extras_require.update(
    test=[
        'msgpack-python',
        'pytest',
        'pytest-benchmark',
        'pytest-cov',
        'pytest-xdist',
    ])

if sys.version_info < (3, 3):
    extras_require['test'].append('mock')

extras_require.update(
    dev=[
        'clint',
        'packaging',
        'shovel',
        'sphinx',
        'twine',
    ] + extras_require['test'])


class PyTest(Command):
    """Allow 'python setup.py test' to run without first installing pytest"""
    user_options = []

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        import subprocess
        import sys
        errno = subprocess.call([sys.executable, 'runtests.py'])
        raise SystemExit(errno)

setup(
    name='BucketCache',
    version=VERSION,
    description=DESCRIPTION,
    long_description=open('README').read(),
    author=AUTHOR,
    author_email=EMAIL,
    url='https://github.com/RazerM/bucketcache',
    packages=find_packages(),
    cmdclass={'test': PyTest},
    classifiers=[
        'Development Status :: 4 - Beta',
        'License :: OSI Approved :: MIT License',
{'fraction_non_alphanumeric': 0.15981231024013248, 'fraction_numerical': 0.006624344465912227, 'mean_word_length': 3.1944444444444446, 'pattern_counts': {'":': 0, '<': 9, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5225303', 'n_tokens_mistral': 1201, 'n_tokens_neox': 1173, 'n_words': 229}