Alicia Yen
02/08/2024, 10:56 PM<package_name>
from the src
folder? i.e. the following tree
.
├── README.md
├── conf
│ ├── ...
├── data
│ ├── ...
├── pyproject.toml
└── src
├── ...
├── pipelines
Nok Lam Chan
02/08/2024, 11:30 PMNok Lam Chan
02/08/2024, 11:33 PMNok Lam Chan
02/08/2024, 11:33 PMAlicia Yen
02/08/2024, 11:41 PMsrc
but remove the package name directory. For example, I currently have the following structure in my test project:
.
├── README.md
├── conf
│ ├── ...
├── data
│ ├── ...
├── pyproject.toml
└── iris
├── ...
├── pipelines
and in the pyproject.toml
I modified source_dir = "."
so the current set up works as is.
What I would like to achieve is to rename iris
to src
. Is this possible?Juan Luis
02/09/2024, 7:18 AMfrom src.pipelines import …
is that what you want?Alicia Yen
02/09/2024, 3:30 PMpyrproject.toml
to make this change? Thanks for your helpJuan Luis
02/09/2024, 4:28 PMsource_dir = ""
, try replacing <package_name>
with src
in pyproject.toml
, for example in [project].name
, [tool.kedro].package_name
, and possibly others