<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Yelp Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import glob

from setuptools import find_packages
from setuptools import setup

from paasta_tools import __version__


setup(
    name='paasta-tools',
    version=__version__,
    provides=["paasta_tools"],
    author='<NAME>',
    author_email='<EMAIL>',
    description='Tools for Yelps SOA infrastructure',
    packages=find_packages(exclude=("tests*", "scripts*")),
    include_package_data=True,
    install_requires=[
        'argcomplete >= 0.8.1',
        # argparse is pinned to 1.2.1 since it comes in the core python2.7
        # libs and pip can't seem to override it
        'argparse == 1.2.1',
        'bravado == 8.3.0',
        'chronos-python == 0.36.0',
        'cookiecutter == 1.4.0',
        'cryptography == 1.4',
        # Don't update this unless you have confirmed the client works with
        # the Docker version deployed on PaaSTA servers
        'docker-py == 1.2.3',
        'dulwich == 0.10.0',
        'ephemeral-port-reserve >= 1.0.1',
        'functools32',
        'gevent == 1.1.1',
        'humanize >= 0.5.1',
        'httplib2 >= 0.9,<= 1.0',
        'isodate >= 0.5.0',
        'jsonschema[format]',
        'kazoo >= 2.0.0',
        'marathon >= 0.8.1',
        'mesos.interface == 0.28.0',
        'ordereddict >= 1.1',
        'path.py >= 8.1',
        'pyramid == 1.7',
        'pyramid-swagger == 2.2.3',
        'pysensu-yelp >= 0.2.2',
        'pytimeparse >= 1.1.0',
        'pytz >= 2014.10',
        'python-dateutil >= 2.4.0',
        'requests == 2.6.2',
        'requests-cache >= 0.4.10,<= 0.5.0',
        'sensu-plugin >= 0.1.0',
        'service-configuration-lib >= 0.10.1',
        'ujson == 1.35',
        'yelp_clog >= 2.2.0',
    ],
    scripts=[
        'paasta_tools/am_i_mesos_leader.py',
        'paasta_tools/autoscale_all_services.py',
        'paasta_tools/check_marathon_services_replication.py',
        'paasta_tools/cleanup_marathon_jobs.py',
        'paasta_tools/paasta_deploy_chronos_jobs',
        'paasta_tools/deploy_marathon_services',
        'paasta_tools/generate_all_deployments',
        'paasta_tools/generate_deployments_for_service.py',
        'paasta_tools/generate_services_file.py',
        'paasta_tools/generate_services_yaml.py',
        'paasta_tools/list_marathon_service_instances.py',
        'paasta_tools/monitoring/check_classic_service_replication.py',
        'paasta_tools/monitoring/check_synapse_replication.py',
        'paasta_tools/cli/paasta_tabcomplete.sh',
        'paasta_tools/paasta_execute_docker_command.py',
        'paasta_tools/paasta_maintenance.py',
        'paasta_tools/paasta_metastatus.py',
        'paasta_tools/paasta_serviceinit.py',
        'paasta_tools/setup_marathon_job.py',
        'paasta_tools/synapse_srv_namespaces_fact.py',
    ] + glob.glob('paasta_tools/contrib/*'),
    package_data={'': ['cli/fsm/template/*/*', 'cli/schemas/*.json', 'api/api_docs/*.json']},
    entry_points={'console_scripts': [
        'paasta=paasta_tools.cli.cli:main',
        'paasta-api=paasta_tools.api.api:main',
        'paasta_autoscale_cluster=paasta_tools.autoscale_cluster:main',
        'paasta_cleanup_chronos_jobs=paasta_tools.cleanup_chronos_jobs:main',
        'paasta_check_chronos_jobs=paasta_tools.check_chronos_jobs:main',
        'paasta_list_chronos_jobs=paasta_tools.list_chronos_jobs:main',
        'paasta_setup_chronos_job=paasta_tools.setup_chronos_job:main',
        'paasta_chronos_rerun=paasta_tools.chronos_rerun:main',
    ]},
)
<commit_msg>Require futures<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Yelp Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import glob

from setuptools import find_packages
from setuptools import setup

from paasta_tools import __version__


setup(
    name='paasta-tools',
    version=__version__,
    provides=["paasta_tools"],
    author='<NAME>',
    author_email='<EMAIL>',
    description='Tools for Yelps SOA infrastructure',
    packages=find_packages(exclude=("tests*", "scripts*")),
    include_package_data=True,
    install_requires=[
        'argcomplete >= 0.8.1',
        # argparse is pinned to 1.2.1 since it comes in the core python2.7
        # libs and pip can't seem to override it
        'argparse == 1.2.1',
        'bravado == 8.3.0',
        'chronos-python == 0.36.0',
        'cookiecutter == 1.4.0',
        'cryptography == 1.4',
        # Don't update this unless you have confirmed the client works with
        # the Docker version deployed on PaaSTA servers
        'docker-py == 1.2.3',
        'dulwich == 0.10.0',
        'ephemeral-port-reserve >= 1.0.1',
        'functools32',
        'futures',
        'gevent == 1.1.1',
        'humanize >= 0.5.1',
        'httplib2 >= 0.9,<= 1.0',
        'isodate >= 0.5.0',
        'jsonschema[format]',
        'kazoo >= 2.0.0',
        'marathon >= 0.8.1',
        'mesos.interface == 0.28.0',
        'ordereddict >= 1.1',
        'path.py >= 8.1',
        'pyramid == 1.7',
        'pyramid-swagger == 2.2.3',
        'pysensu-yelp >= 0.2.2',
        'pytimeparse >= 1.1.0',
        'pytz >= 2014.10',
        'python-dateutil >= 2.4.0',
        'requests == 2.6.2',
        'requests-cache >= 0.4.10,<= 0.5.0',
        'sensu-plugin >= 0.1.0',
        'service-configuration-lib >= 0.10.1',
        'ujson == 1.35',
        'yelp_clog >= 2.2.0',
    ],
    scripts=[
        'paasta_tools/am_i_mesos_leader.py',
        'paasta_tools/autoscale_all_services.py',
        'paasta_tools/check_marathon_services_replication.py',
        'paasta_tools/cleanup_marathon_jobs.py',
        'paasta_tools/paasta_deploy_chronos_jobs',
        'paasta_tools/deploy_marathon_services',
        'paasta_tools/generate_all_deployments',
        'paasta_tools/generate_deployments_for_service.py',
        'paasta_tools/generate_services_file.py',
        'paasta_tools/generate_services_yaml.py',
        'paasta_tools/list_marathon_service_instances.py',
        'paasta_tools/monitoring/check_classic_service_replication.py',
        'paasta_tools/monitoring/check_synapse_replication.py',
        'paasta_tools/cli/paasta_tabcomplete.sh',
        'paasta_tools/paasta_execute_docker_command.py',
        'paasta_tools/paasta_maintenance.py',
        'paasta_tools/paasta_metastatus.py',
        'paasta_tools/paasta_serviceinit.py',
        'paasta_tools/setup_marathon_job.py',
        'paasta_tools/synapse_srv_namespaces_fact.py',
    ] + glob.glob('paasta_tools/contrib/*'),
    package_data={'': ['cli/fsm/template/*/*', 'cli/schemas/*.json', 'api/api_docs/*.json']},
    entry_points={'console_scripts': [
        'paasta=paasta_tools.cli.cli:main',
        'paasta-api=paasta_tools.api.api:main',
        'paasta_autoscale_cluster=paasta_tools.autoscale_cluster:main',
        'paasta_cleanup_chronos_jobs=paasta_tools.cleanup_chronos_jobs:main',
        'paasta_check_chronos_jobs=paasta_tools.check_chronos_jobs:main',
        'paasta_list_chronos_jobs=paasta_tools.list_chronos_jobs:main',
        'paasta_setup_chronos_job=paasta_tools.setup_chronos_job:main',
        'paasta_chronos_rerun=paasta_tools.chronos_rerun:main',
    ]},
)

{'fraction_non_alphanumeric': 0.1339533760115956, 'fraction_numerical': 0.028747433264887063, 'mean_word_length': 2.9334916864608074, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '270522', 'n_tokens_mistral': 2984, 'n_tokens_neox': 2832, 'n_words': 506}