diff --git a/airbyte-integrations/connectors/source-pokeapi/.gitignore b/airbyte-integrations/connectors/source-pokeapi/.gitignore new file mode 100644 index 000000000000..1521c8b7652b --- /dev/null +++ b/airbyte-integrations/connectors/source-pokeapi/.gitignore @@ -0,0 +1 @@ +dist diff --git a/airbyte-integrations/connectors/source-pokeapi/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-pokeapi/acceptance-test-docker.sh deleted file mode 100644 index 5797d20fe9a7..000000000000 --- a/airbyte-integrations/connectors/source-pokeapi/acceptance-test-docker.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -source "$(git rev-parse --show-toplevel)/airbyte-integrations/bases/connector-acceptance-test/acceptance-test-docker.sh" diff --git a/airbyte-integrations/connectors/source-pokeapi/pyproject.toml b/airbyte-integrations/connectors/source-pokeapi/pyproject.toml index f18daf520435..263d6976bfe8 100644 --- a/airbyte-integrations/connectors/source-pokeapi/pyproject.toml +++ b/airbyte-integrations/connectors/source-pokeapi/pyproject.toml @@ -1,8 +1,13 @@ [tool.poetry] -name = "airbyte-source-pokeapi" +name = "source-pokeapi" version = "0.1.0" -description = "" -authors = ["Michel Tricot "] +description = "Source implementation for Pokeapi." +authors = ["Airbyte "] +include = [ + { path = "src/*/*.json"}, + { path = "src/*/schemas/*.json"}, + { path = "schemas/shared/*.json"} +] [tool.poetry.dependencies] python = ">=3.9,<4.0" @@ -13,7 +18,6 @@ black = "^22.12.0" ruff = "^0.0.280" mypy = "^1.4.1" - [tool.poetry.group.dev.dependencies] pytest = "~6" connector-acceptance-test = {path = "../../bases/connector-acceptance-test", develop = true} diff --git a/airbyte-integrations/connectors/source-pokeapi/requirements.txt b/airbyte-integrations/connectors/source-pokeapi/requirements.txt deleted file mode 100644 index cc57334ef619..000000000000 --- a/airbyte-integrations/connectors/source-pokeapi/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ --e ../../bases/connector-acceptance-test --e . diff --git a/airbyte-integrations/connectors/source-pokeapi/setup.py b/airbyte-integrations/connectors/source-pokeapi/setup.py deleted file mode 100644 index 6e2c4efa3230..000000000000 --- a/airbyte-integrations/connectors/source-pokeapi/setup.py +++ /dev/null @@ -1,23 +0,0 @@ -# -# Copyright (c) 2023 Airbyte, Inc., all rights reserved. -# - - -from setuptools import find_packages, setup - -MAIN_REQUIREMENTS = ["airbyte-cdk~=0.1"] - -TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test"] - -setup( - name="source_pokeapi", - description="Source implementation for Pokeapi.", - author="Airbyte", - author_email="contact@airbyte.io", - packages=find_packages(), - install_requires=MAIN_REQUIREMENTS, - package_data={"": ["*.json", "schemas/*.json", "schemas/shared/*.json"]}, - extras_require={ - "tests": TEST_REQUIREMENTS, - }, -) diff --git a/airbyte-integrations/connectors/source-pokeapi/src/__init__.py b/airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/__init__.py similarity index 100% rename from airbyte-integrations/connectors/source-pokeapi/src/__init__.py rename to airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/__init__.py diff --git a/airbyte-integrations/connectors/source-pokeapi/src/pokemon_list.py b/airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/pokemon_list.py similarity index 100% rename from airbyte-integrations/connectors/source-pokeapi/src/pokemon_list.py rename to airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/pokemon_list.py diff --git a/airbyte-integrations/connectors/source-pokeapi/src/schemas/TODO.md b/airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/schemas/TODO.md similarity index 100% rename from airbyte-integrations/connectors/source-pokeapi/src/schemas/TODO.md rename to airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/schemas/TODO.md diff --git a/airbyte-integrations/connectors/source-pokeapi/src/schemas/pokemon.json b/airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/schemas/pokemon.json similarity index 100% rename from airbyte-integrations/connectors/source-pokeapi/src/schemas/pokemon.json rename to airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/schemas/pokemon.json diff --git a/airbyte-integrations/connectors/source-pokeapi/src/source.py b/airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/source.py similarity index 100% rename from airbyte-integrations/connectors/source-pokeapi/src/source.py rename to airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/source.py diff --git a/airbyte-integrations/connectors/source-pokeapi/src/spec.json b/airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/spec.json similarity index 100% rename from airbyte-integrations/connectors/source-pokeapi/src/spec.json rename to airbyte-integrations/connectors/source-pokeapi/src/source_pokeapi/spec.json diff --git a/airbyte-integrations/connectors/source-pokeapi/tests/unit_tests/__init__.py b/airbyte-integrations/connectors/source-pokeapi/tests/unit_tests/__init__.py new file mode 100644 index 000000000000..e69de29bb2d1