Good morning everyone! EDK question: How would I ...
# singer-tap-development
s
Good morning everyone! EDK question: How would I set it up so that upon install, my plugin downloads my edk files as well? I set the packages that needed to be downloaded in the pyproject.toml but the files still are not being included. Any insights?
s
Have you taken a look at the airflow-ext? Maybe that helps to resolve your problem: https://github.com/meltano/airflow-ext/blob/main/pyproject.toml {CC: @Will Da Silva (Arch) )
w
Do you mean they aren't being included in the
wheel
@Stéphane Burwash? I'll try to reproduce the issue.
Yup, those directories are missing from the wheel.
s
Basically, when running
meltano install utility elementary
, my attached files directory is not being included (in
.meltano/utilities/elementary/venv
)
Would you mind defining the wheel please? I'm not familiar with the term 😅
w
It's the zip-like artifact that Python packages are distributed in. When you run
pip install
it's typically installing a wheel. Likewise
poetry build
produces a wheel, as do many other Python packaging tools.
s
Ok awesome! So yes, it is missing in the wheel; how would it be included when using the EDK?
w
There may be a bug in the EDK's template that caused this. I'm looking into it now
Yup, there was a bug in the template for
pyproject.toml
. Sorry about that 😅
@Stéphane Burwash You'll want to move the
packages
and
include
sections of your
pyproject.toml
up so that it's under
[tool.poetry]
rather than
[build-system]
.
s
Awesome, got it fixed! Thank you so much 😄
w
Happy to help 🙂