# -*- coding: utf-8 -*-
# Copyright 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.
from __future__ import absolute_import
from __future__ import unicode_literals

from setuptools import find_packages
from setuptools import setup

import data_pipeline

readme = open('README.md').read()
doclink = """
Documentation
-------------

The full documentation is at TODO (DATAPIPE-2031|abrar): Link to public servicedocs."""
history = open('HISTORY.rst').read().replace('.. :changelog:', '')

setup(
    # py2 + setuptools asserts isinstance(name, str) so this needs str()
    name=str('data_pipeline'),
    version=data_pipeline.__version__,
    description="Provides an interface to consume and publish to data pipeline topics.",
    long_description=readme + '\n\n' + doclink + '\n\n' + history,
    author=data_pipeline.__author__,
    author_email=data_pipeline.__email__,
    url='https://github.com/Yelp/data_pipeline',
    packages=find_packages(exclude=['tests*', 'benchmarks*']),
    include_package_data=True,
    install_requires=[
        'bravado>=8.3.0,<8.4.0',
        'cached-property>=0.1.5',
        'cffi>=1.1.2',
        'cryptography<=1.3.4',
        'data-pipeline-avro-util>=0.2.1',
        'enum34>=1.0.4',
        'frozendict==0.5',
        'kafka-python>0.9.4,<1.0.0',
        'kafka-utils>0.3.3',
        'psutil==4.2.0',
        'pycrypto>=2.6.1',
        'pyopenssl==16.0.0',
        'pyramid_zipkin>=0.16.0',
        'PyStaticConfiguration>=0.9.0',
        'simplejson>=2.1.2',
        'swagger_zipkin>=0.1.0',
        'yelp-avro==1.9.2',
        'yelp-clog==2.2.11'
    ],
    extras_require={
        'tools': [
            # yelp_clog isn't compatible with triftpy 0.2.0, which is an
            # implicit dependency of yelp_batch
            'thriftpy<0.2.0',
            'yelp_batch>=0.19.4',
            'yelp_conn>=7.0.0',
        ],
        'testing_helpers': [
            'docker-compose==1.5.2',
            'docker-py==1.6.0',
            # requests is locked at <2.7 to satisfy a docker-compose requirement
            'requests<2.7'
        ],
        # inform downstream projects that use data_pipeline consumer to
        # include data_pipeline[internal] to their dependency.
        'internal': [
            'pysensu-yelp>=0.2.3',
            'yelp-kafka>=5.0.0',
            'yelp-servlib>=4.3.0'
        ]
    },
    zip_safe=False,
    keywords='data_pipeline',
    package_data={
        str('data_pipeline'): [
            'schemas/*.avsc',
            'testing_helpers/docker-compose.yml',
            'testing_helpers/docker-compose-opensource.yml'
        ],
    },
    scripts=[
        'bin/data_pipeline_tailer',
        'bin/data_pipeline_refresh_runner',
        'bin/data_pipeline_refresh_manager',
        'bin/data_pipeline_refresh_requester',
        'bin/data_pipeline_compaction_setter',
        'bin/data_pipeline_introspector'
    ],
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: Implementation :: PyPy',
    ],
)

# -*- coding: utf-8 -*-
# Copyright 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.
from __future__ import absolute_import
from __future__ import unicode_literals

from setuptools import find_packages
from setuptools import setup

import data_pipeline

readme = open('README.md').read()
doclink = """
Documentation
-------------

The full documentation is at TODO (DATAPIPE-2031|abrar): Link to public servicedocs."""
history = open('HISTORY.rst').read().replace('.. :changelog:', '')

setup(
    # py2 + setuptools asserts isinstance(name, str) so this needs str()
    name=str('data_pipeline'),
    version=data_pipeline.__version__,
    description="Provides an interface to consume and publish to data pipeline topics.",
    long_description=readme + '\n\n' + doclink + '\n\n' + history,
    author=data_pipeline.__author__,
    author_email=data_pipeline.__email__,
    url='https://github.com/Yelp/data_pipeline',
    packages=find_packages(exclude=['tests*', 'benchmarks*']),
    include_package_data=True,
    install_requires=[
        'bravado>=8.3.0,<8.4.0',
        'cached-property>=0.1.5',
        'cffi>=1.1.2',
        'cryptography<=1.3.4',
        'data-pipeline-avro-util>=0.2.1',
        'enum34>=1.0.4',
        'frozendict==0.5',
        'kafka-python>0.9.4,<1.0.0',
        'kafka-utils>0.3.3',
        'psutil==4.2.0',
        'pycrypto>=2.6.1',
        'pyopenssl==16.0.0',
        'pyramid_zipkin>=0.16.0',
        'PyStaticConfiguration>=0.9.0',
        'simplejson>=2.1.2',
        'swagger_zipkin>=0.1.0',
        'yelp-avro==1.9.2',
        'yelp-clog==2.2.11'
    ],
    extras_require={
        'tools': [
            # yelp_clog isn't compatible with triftpy 0.2.0, which is an
            # implicit dependency of yelp_batch
            'thriftpy<0.2.0',
            'yelp_batch>=0.19.4',
            'yelp_conn>=7.0.0',
        ],
        'testing_helpers': [
            'docker-compose==1.5.2',
            'docker-py==1.6.0',
            # requests is locked at <2.7 to satisfy a docker-compose requirement
            'requests<2.7'
        ],
        # inform downstream projects that use data_pipeline consumer to
        # include data_pipeline[internal] to their dependency.
        'internal': [
            'pysensu-yelp>=0.2.3',
            'yelp-kafka>=5.0.0',
            'yelp-servlib>=4.3.0'
        ]
    },
    zip_safe=False,
    keywords='data_pipeline',
    package_data={
        str('data_pipeline'): [
            'schemas/*.avsc',
            'testing_helpers/docker-compose.yml',
            'testing_helpers/docker-compose-opensource.yml'
        ],
    },
    scripts=[
        'bin/data_pipeline_tailer',
        'bin/data_pipeline_refresh_runner',
        'bin/data_pipeline_refresh_manager',
        'bin/data_pipeline_refresh_requester',
        'bin/data_pipeline_compaction_setter',
        'bin/data_pipeline_introspector'
    ],
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: Implementation :: PyPy',
    ],
)

# -*- coding: utf-8 -*- # Copyright 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. Documentation -------------  The full documentation is at TODO (DATAPIPE-2031|abrar): Link to public servicedocs. # py2 + setuptools asserts isinstance(name, str) so this needs str() # yelp_clog isn't compatible with triftpy 0.2.0, which is an # implicit dependency of yelp_batch # requests is locked at <2.7 to satisfy a docker-compose requirement # inform downstream projects that use data_pipeline consumer to # include data_pipeline[internal] to their dependency.