<commit_before># -*- coding: utf-8 -*-
#
# This file is part of REANA.
# Copyright (C) 2017, 2018 CERN.
#
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.

"""REANA-Job-Controller."""

from __future__ import absolute_import, print_function

import os
import re

from setuptools import find_packages, setup

readme = open('README.rst').read()
history = open('CHANGES.rst').read()

tests_require = [
    'check-manifest>=0.25',
    'coverage>=4.0',
    'isort>=4.2.15',
    'mock>=2.0',
    'pydocstyle>=1.0.0',
    'pytest-cache>=1.0',
    'pytest-cov>=1.8.0',
    'pytest-pep8>=1.0.6',
    'pytest>=2.8.0',
    'swagger_spec_validator>=2.1.0',
]

extras_require = {
    'docs': [
        'Sphinx>=1.4.4,<1.6',
        'sphinx-rtd-theme>=0.1.9',
        'sphinxcontrib-httpdomain>=1.5.0',
        'sphinxcontrib-openapi>=0.3.0',
        'sphinxcontrib-redoc>=1.5.1',
    ],
    'tests': tests_require,
}

extras_require['all'] = []
for key, reqs in extras_require.items():
    if ':' == key[0]:
        continue
    extras_require['all'].extend(reqs)

setup_requires = [
    'pytest-runner>=2.7',
]

install_requires = [
    'apispec>=0.21.0',
    'Flask>=0.11',
    'kubernetes>=6.0.0',
    'marshmallow>=2.13',
    'reana-commons>=0.5.0.dev20181213,<0.6.0[kubernetes]',
    'reana-db>=0.5.0.dev20181126,<0.6.0',
]

packages = find_packages()


# Get the version string. Cannot be done with import!
with open(os.path.join('reana_job_controller', 'version.py'), 'rt') as f:
    version = re.search(
        '__version__\s*=\s*"(?P<version>.*)"\n',
        f.read()
    ).group('version')

setup(
    name='reana-job-controller',
    version=version,
    description=__doc__,
    long_description=readme + '\n\n' + history,
    author='REANA',
    author_email='<EMAIL>',
    url='https://github.com/reanahub/reana-job-controller',
    packages=['reana_job_controller', ],
    zip_safe=False,
    entry_points={
        'flask.commands': [
            'openapi = reana_job_controller.cli:openapi',
        ],
    },
    extras_require=extras_require,
    install_requires=install_requires,<commit_msg>installation: bump db and commons<commit_after># -*- coding: utf-8 -*-
#
# This file is part of REANA.
# Copyright (C) 2017, 2018 CERN.
#
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.

"""REANA-Job-Controller."""

from __future__ import absolute_import, print_function

import os
import re

from setuptools import find_packages, setup

readme = open('README.rst').read()
history = open('CHANGES.rst').read()

tests_require = [
    'check-manifest>=0.25',
    'coverage>=4.0',
    'isort>=4.2.15',
    'mock>=2.0',
    'pydocstyle>=1.0.0',
    'pytest-cache>=1.0',
    'pytest-cov>=1.8.0',
    'pytest-pep8>=1.0.6',
    'pytest>=2.8.0',
    'swagger_spec_validator>=2.1.0',
]

extras_require = {
    'docs': [
        'Sphinx>=1.4.4,<1.6',
        'sphinx-rtd-theme>=0.1.9',
        'sphinxcontrib-httpdomain>=1.5.0',
        'sphinxcontrib-openapi>=0.3.0',
        'sphinxcontrib-redoc>=1.5.1',
    ],
    'tests': tests_require,
}

extras_require['all'] = []
for key, reqs in extras_require.items():
    if ':' == key[0]:
        continue
    extras_require['all'].extend(reqs)

setup_requires = [
    'pytest-runner>=2.7',
]

install_requires = [
    'apispec>=0.21.0',
    'Flask>=0.11',
    'kubernetes>=6.0.0',
    'marshmallow>=2.13',
    'reana-commons>=0.5.0.dev20190125,<0.6.0[kubernetes]',
    'reana-db>=0.5.0.dev20190125,<0.6.0',
]

packages = find_packages()


# Get the version string. Cannot be done with import!
with open(os.path.join('reana_job_controller', 'version.py'), 'rt') as f:
    version = re.search(
        '__version__\s*=\s*"(?P<version>.*)"\n',
        f.read()
    ).group('version')

setup(
    name='reana-job-controller',
    version=version,
    description=__doc__,
    long_description=readme + '\n\n' + history,
    author='REANA',
    author_email='<EMAIL>',
    url='https://github.com/reanahub/reana-job-controller',
    packages=['reana_job_controller', ],
    zip_safe=False,
    entry_points={
        'flask.commands': [
            'openapi = reana_job_controller.cli:openapi',
        ],
    },
    extras_require=extras_require,
    install_requires=install_requires,
{'fraction_non_alphanumeric': 0.18295454545454545, 'fraction_numerical': 0.045, 'mean_word_length': 3.171563981042654, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 51, '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': '5839540', 'n_tokens_mistral': 1756, 'n_tokens_neox': 1675, 'n_words': 277}