from setuptools import find_packages, setup

ARTHUR_VERSION = "1.31.0"


setup(
    author="Harry's Data Engineering and Analytics Engineering",
    description="ETL code to ferry data from PostgreSQL databases or S3 files to Redshift clusters",
    entry_points={
        "console_scripts": [
            # NB The script must end in ".py" so that spark submit accepts it as a Python script.
            "arthur.py = etl.commands:run_arg_as_command",
            "run_tests.py = etl.selftest:run_tests",
        ]
    },
    keywords="redshift postgresql ETL ELT extract transform load",
    license="MIT",
    name="redshift_etl",
    package_dir={"": "python"},
    packages=find_packages("python"),
    package_data={"etl": ["assets/*", "config/*", "templates/*"]},
    scripts=[
        "python/scripts/compare_events.py",
        "python/scripts/install_extraction_pipeline.sh",
        "python/scripts/install_pizza_load_pipeline.sh",
        "python/scripts/install_rebuild_pipeline.sh",
        "python/scripts/install_refresh_pipeline.sh",
        "python/scripts/install_upgrade_pipeline.sh",
        "python/scripts/install_validation_pipeline.sh",
        "python/scripts/launch_ec2_instance.sh",
        "python/scripts/launch_emr_cluster.sh",
        "python/scripts/re_run_partial_pipeline.py",
        "python/scripts/sns_subscribe.sh",
        "python/scripts/submit_arthur.sh",
        "python/scripts/terminate_emr_cluster.sh",
    ],
    url="https://github.com/harrystech/arthur-redshift-etl",
    version=ARTHUR_VERSION,
    zip_safe=False,
)

from setuptools import find_packages, setup

ARTHUR_VERSION = "1.32.0"


setup(
    author="Harry's Data Engineering and Analytics Engineering",
    description="ETL code to ferry data from PostgreSQL databases or S3 files to Redshift clusters",
    entry_points={
        "console_scripts": [
            # NB The script must end in ".py" so that spark submit accepts it as a Python script.
            "arthur.py = etl.commands:run_arg_as_command",
            "run_tests.py = etl.selftest:run_tests",
        ]
    },
    keywords="redshift postgresql ETL ELT extract transform load",
    license="MIT",
    name="redshift_etl",
    package_dir={"": "python"},
    packages=find_packages("python"),
    package_data={"etl": ["assets/*", "config/*", "templates/*"]},
    scripts=[
        "python/scripts/compare_events.py",
        "python/scripts/install_extraction_pipeline.sh",
        "python/scripts/install_pizza_load_pipeline.sh",
        "python/scripts/install_rebuild_pipeline.sh",
        "python/scripts/install_refresh_pipeline.sh",
        "python/scripts/install_upgrade_pipeline.sh",
        "python/scripts/install_validation_pipeline.sh",
        "python/scripts/launch_ec2_instance.sh",
        "python/scripts/launch_emr_cluster.sh",
        "python/scripts/re_run_partial_pipeline.py",
        "python/scripts/sns_subscribe.sh",
        "python/scripts/submit_arthur.sh",
        "python/scripts/terminate_emr_cluster.sh",
    ],
    url="https://github.com/harrystech/arthur-redshift-etl",
    version=ARTHUR_VERSION,
    zip_safe=False,
)

Bump version