#!/usr/bin/python
#
# Copyright 2020 Google LLC
#
# 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 setuptools

release_status = 'Development Status :: 4 - Beta'

with open('README.md') as readme_file:
    readme = readme_file.read()

setuptools.setup(
    name='google-datacatalog-apache-atlas-connector',
    version='0.6.0',
    author='Google LLC',
    description='Package for ingesting Apache Atlas metadata'
    ' into Google Cloud Data Catalog',
    platforms='Posix; MacOS X; Windows',
    packages=setuptools.find_packages(where='./src'),
    namespace_packages=['google', 'google.datacatalog_connectors'],
    package_dir={'': 'src'},
    entry_points={
        'console_scripts': [
            'google-datacatalog-apache-atlas-connector = google.datacatalog_connectors.apache_atlas:main',
        ],
    },
    include_package_data=True,
    install_requires=('atlasclient', 'kafka-python',
                      'google-datacatalog-connectors-commons>=0.6.0'),
    setup_requires=('pytest-runner',),
    tests_require=('google-datacatalog-connectors-commons-test>=0.6.0',
                   'numpy==1.19.4', 'pytest-cov==2.10.1'),
    classifiers=(
        release_status,
        'Programming Language :: Python :: 3.7',
    ),
    long_description=readme,
    long_description_content_type='text/markdown',
)
