Missing setup.py in connector project for DuckDB destination

Summary

The user is following a tutorial to create a DuckDB destination with Python in Airbyte but is missing the setup.py file in their connector project. They have shared the project structure and are seeking advice on how to proceed.


Question

I’m following the tutorial for https://airbyte.com/tutorials/creating-duckdb-destination-with-python|duckdb. It has the following:

After we’ve checked the path was set correctly, we will set up a duckdb connection, important here to install and add duckdb to setup.py.
My connector project doesn’t have a setup.py . I only have the following:

.
├── destination_vastdb
│   ├── destination.py
│   ├── __init__.py
│   ├── run.py
│   └── spec.json
├── integration_tests
│   └── integration_test.py
├── main.py
├── metadata.yaml
├── poetry.lock
├── pyproject.toml
├── README.md
├── secrets
│   └── config.json
└── unit_tests
    └── unit_test.py```
Any ideas?

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1720787821645689) if you want 
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["duckdb-destination", "python", "connector-project", "setup.py"]
</sub>

It looks as though my dependencies need to be specified in pyproject.toml?

python = "^3.9,<3.12"
airbyte-cdk = "^0"
vastdb = "0.1"```

Yes, current approach use pyproject.toml (and poetry.lock as lockfile) for specifying dependencies. Probably tutorial was written some time ago before changes in airbyte repository touching generator script